|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.WildcardAttribute
public class WildcardAttribute
Wildcard attributes (as specified by xs:anyAttribute
)
are stored in a set, the set elements being instances of
WildcardAttribute
.
Constructor Summary | |
---|---|
WildcardAttribute(QName pName,
java.lang.String pValue)
Creates a new instance of WildcardAttribute
with the given name and value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object pOther)
Returns true, if the object pOther is an instance of
WildcardAttribute and pOther.getName().equals(getName()) . |
QName |
getName()
Returns the attributes name. |
java.lang.String |
getValue()
Returns the attributes value. |
int |
hashCode()
Returns getName().hashCode() . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WildcardAttribute(QName pName, java.lang.String pValue)
Creates a new instance of WildcardAttribute
with the given name and value.
java.lang.NullPointerException
- Either of the arguments is null.Method Detail |
---|
public QName getName()
Returns the attributes name.
public java.lang.String getValue()
Returns the attributes value.
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
Returns getName().hashCode()
.
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pOther)
Returns true, if the object pOther
is an instance of
WildcardAttribute
and pOther.getName().equals(getName())
.
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |