|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.jaxme.xs.XSElementOrAttrRef
Specifies an element or attribute relative to the declaring element. The reference cannot be to an element and a attribute, one of the two getters must return null.
XSElement
,
XSIdentityConstraint
Constructor Summary | |
XSElementOrAttrRef(XSAttribute attribute)
|
|
XSElementOrAttrRef(XSElement element)
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
XSAttribute |
getAttribute()
Fetches the attribute that this reference refers to. |
XSElement |
getElement()
Fetches the element that this reference refers to. |
int |
hashCode()
|
boolean |
isAttributeRef()
Returns true if this reference points at an attribute. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSElementOrAttrRef(XSElement element)
public XSElementOrAttrRef(XSAttribute attribute)
Method Detail |
public XSElement getElement()
public XSAttribute getAttribute()
public boolean isAttributeRef()
public int hashCode()
public boolean equals(java.lang.Object o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |