|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MaybeElement<T,C>
Some NonElement
can optionally be an Element
.
This interface captures such characteristics.
Field Summary |
---|
Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
---|
ANYTYPE_NAME |
Method Summary | |
---|---|
Element<T,C> |
asElement()
Returns the Element aspect of this ClassInfo . |
QName |
getElementName()
Gets the element name of the class, if the class is bound to an element. |
boolean |
isElement()
If the class is bound to an element, return true. |
Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
---|
getTypeName, isSimpleType |
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo |
---|
canBeReferencedByIDREF, getType |
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable |
---|
getLocation, getUpstream |
Method Detail |
---|
boolean isElement()
Note that when this is true, the class is bound to both an element and a type.
QName getElementName()
isElement()
.Element<T,C> asElement()
Element
aspect of this ClassInfo
.
isElement()
==false, non-null if isElement()
==true.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |