public interface MaybeElement<T,C> extends NonElement<T,C>
NonElement
can optionally be an Element
.
This interface captures such characteristics.ANYTYPE_NAME
Modifier and Type | Method and Description |
---|---|
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.
|
getTypeName, isSimpleType
canBeReferencedByIDREF, getType
getLocation, getUpstream
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()
isElement()
==false, non-null if isElement()
==true.Copyright © 2017 JBoss by Red Hat. All rights reserved.