com.sun.xml.bind.v2.model.core
public interface MaybeElement<T,C> extends NonElement<T,C>
Method Summary | |
---|---|
Element<T,C> | asElement() |
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.
|
Returns: null if isElement==false, non-null if isElement==true.
Returns: non-null iff isElement.
Note that when this is true, the class is bound to both an element and a type.