org.apache.ws.jaxme

Class WildcardAttribute


public class WildcardAttribute
extends java.lang.Object

Wildcard attributes (as specified by xs:anyAttribute) are stored in a set, the set elements being instances of WildcardAttribute.
Author:
Jochen Wiedmann

Constructor Summary

WildcardAttribute(QName pName, String pValue)
Creates a new instance of WildcardAttribute with the given name and value.

Method Summary

boolean
equals(Object pOther)
Returns true, if the object pOther is an instance of WildcardAttribute and pOther.getName().equals(getName()).
QName
getName()
Returns the attributes name.
String
getValue()
Returns the attributes value.
int
hashCode()
Returns getName().hashCode().
String
toString()

Constructor Details

WildcardAttribute

public WildcardAttribute(QName pName,
                         String pValue)
Creates a new instance of WildcardAttribute with the given name and value.

Method Details

equals

public boolean equals(Object pOther)
Returns true, if the object pOther is an instance of WildcardAttribute and pOther.getName().equals(getName()).

getName

public QName getName()
Returns the attributes name.

getValue

public String getValue()
Returns the attributes value.

hashCode

public int hashCode()
Returns getName().hashCode().

toString

public String toString()