Interface RuntimeElementInfo
-
- All Superinterfaces:
Element<java.lang.reflect.Type,java.lang.Class>,ElementInfo<java.lang.reflect.Type,java.lang.Class>,Locatable,RuntimeElement,RuntimeTypeInfo,TypeInfo<java.lang.reflect.Type,java.lang.Class>
public interface RuntimeElementInfo extends ElementInfo<java.lang.reflect.Type,java.lang.Class>, RuntimeElement
- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeNonElementgetContentType()Short forgetProperty().ref().get(0).RuntimeElementPropertyInfogetProperty()Gets the object that represents the value property.RuntimeClassInfogetScope()If non-null, this element is only active inside the given scope.java.lang.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
getElementName
-
Methods inherited from interface com.sun.xml.bind.v2.model.core.ElementInfo
getContentInMemoryType, getSubstitutionHead, getSubstitutionMembers
-
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
-
Methods inherited from interface com.sun.xml.bind.v2.model.core.TypeInfo
canBeReferencedByIDREF
-
-
-
-
Method Detail
-
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<java.lang.reflect.Type,java.lang.Class>- Returns:
- non-null.
-
getType
java.lang.Class<? extends javax.xml.bind.JAXBElement> getType()
Returns the customJAXBElementclass tailored this element.- Specified by:
getTypein interfaceElementInfo<java.lang.reflect.Type,java.lang.Class>- Specified by:
getTypein interfaceTypeInfo<java.lang.reflect.Type,java.lang.Class>- Returns:
- always non-null.
-
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<java.lang.reflect.Type,java.lang.Class>- See Also:
ElementInfo.getContentInMemoryType()
-
-