|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NonElement<T,C>
TypeInfo
that maps to an element.
Either LeafInfo
or ClassInfo
.
TODO: better ANYTYPE_NAME.
Field Summary | |
---|---|
static QName |
ANYTYPE_NAME
|
Method Summary | |
---|---|
QName |
getTypeName()
Gets the primary XML type ANYTYPE_NAME of the class. |
boolean |
isSimpleType()
Returns true if this NonElement maps to text in XML,
without any attribute nor child elements. |
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 |
Field Detail |
---|
static final QName ANYTYPE_NAME
Method Detail |
---|
QName getTypeName()
A Java type can be mapped to multiple XML types, but one of them is considered "primary" and used when we generate a schema.
boolean isSimpleType()
NonElement
maps to text in XML,
without any attribute nor child elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |