Interface RuntimeElementInfo
- All Superinterfaces:
Element<Type,,Class> ElementInfo<Type,,Class> Locatable,RuntimeElement,RuntimeTypeInfo,TypeInfo<Type,Class>
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionShort forgetProperty().ref().get(0).Gets the object that represents the value property.getScope()If non-null, this element is only active inside the given scope.Class<? extends javax.xml.bind.JAXBElement>getType()Returns the customJAXBElementclass tailored this element.Methods inherited from interface com.sun.xml.bind.v2.model.core.Element
getElementNameMethods inherited from interface com.sun.xml.bind.v2.model.core.ElementInfo
getContentInMemoryType, getSubstitutionHead, getSubstitutionMembersMethods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstreamMethods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF
-
Method Details
-
getScope
RuntimeClassInfo getScope()Description copied from interface:ElementIf non-null, this element is only active inside the given scope. -
getProperty
RuntimeElementPropertyInfo getProperty()Description copied from interface:ElementInfoGets the object that represents the value property.- Specified by:
getPropertyin interfaceElementInfo<Type,Class> - Returns:
- non-null.
-
getType
Class<? extends javax.xml.bind.JAXBElement> getType()Returns the customJAXBElementclass tailored this element. -
getContentType
RuntimeNonElement getContentType()Short forgetProperty().ref().get(0). The type of the value this element holds. Normally, this is the T ofJAXBElement<T>. But if the property is adapted, this is the on-the-wire type. Or if the element has a list of values, then this field represents the type of the individual item.- Specified by:
getContentTypein interfaceElementInfo<Type,Class> - See Also:
-