|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.v2.model.impl.BuiltinLeafInfoImpl<TypeT,ClassDeclT>
public class BuiltinLeafInfoImpl<TypeT,ClassDeclT>
JAXB spec designates a few Java classes to be mapped to XML types in a way that ignores restrictions placed on user-defined beans.
| Field Summary |
|---|
| Fields inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
|---|
ANYTYPE_NAME |
| Constructor Summary | |
|---|---|
protected |
BuiltinLeafInfoImpl(TypeT type,
QName... typeNames)
|
| Method Summary | ||
|---|---|---|
com.sun.xml.bind.v2.model.core.Element<TypeT,ClassDeclT> |
asElement()
Deprecated. always return null at this level. |
|
boolean |
canBeReferencedByIDREF()
Deprecated. why are you calling a method whose return value is always known? |
|
static
|
createLeaves(com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,?,?> nav)
Creates all the BuiltinLeafInfoImpls as specified in the spec. |
|
QName |
getElementName()
Deprecated. always return null at this level. |
|
Location |
getLocation()
|
|
TypeT |
getType()
A reference to the representation of the type. |
|
QName |
getTypeName()
|
|
QName[] |
getTypeNames()
Returns all the type names recognized by this bean info. |
|
Locatable |
getUpstream()
|
|
boolean |
isElement()
Deprecated. always return false at this level. |
|
boolean |
isSimpleType()
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.BuiltinLeafInfo |
|---|
getTypeName |
| Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElement |
|---|
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 |
| Constructor Detail |
|---|
protected BuiltinLeafInfoImpl(TypeT type,
QName... typeNames)
| Method Detail |
|---|
public final QName[] getTypeNames()
public final boolean isElement()
isElement in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>public final QName getElementName()
getElementName in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>public final com.sun.xml.bind.v2.model.core.Element<TypeT,ClassDeclT> asElement()
asElement in interface com.sun.xml.bind.v2.model.core.MaybeElement<TypeT,ClassDeclT>public static <TypeT,ClassDeclT> Map<TypeT,BuiltinLeafInfoImpl<TypeT,ClassDeclT>> createLeaves(com.sun.xml.bind.v2.model.nav.Navigator<TypeT,ClassDeclT,?,?> nav)
BuiltinLeafInfoImpls as specified in the spec.
LeafInfos are all defined by the spec.
public TypeT getType()
getType in interface com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>public final boolean canBeReferencedByIDREF()
canBeReferencedByIDREF in interface com.sun.xml.bind.v2.model.core.TypeInfo<TypeT,ClassDeclT>public QName getTypeName()
getTypeName in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>public Locatable getUpstream()
getUpstream in interface Locatablepublic Location getLocation()
getLocation in interface Locatablepublic boolean isSimpleType()
isSimpleType in interface com.sun.xml.bind.v2.model.core.NonElement<TypeT,ClassDeclT>public String toString()
toString in interface LocationtoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||