Interface RuntimeElementInfo

    • Method Detail

      • getScope

        RuntimeClassInfo getScope()
        Description copied from interface: Element
        If non-null, this element is only active inside the given scope.
        Specified by:
        getScope in interface Element<java.lang.reflect.Type,​java.lang.Class>
      • getType

        java.lang.Class<? extends javax.xml.bind.JAXBElement> getType()
        Returns the custom JAXBElement class tailored this element.
        Specified by:
        getType in interface ElementInfo<java.lang.reflect.Type,​java.lang.Class>
        Specified by:
        getType in interface TypeInfo<java.lang.reflect.Type,​java.lang.Class>
        Returns:
        always non-null.
      • getContentType

        RuntimeNonElement getContentType()
        Short for getProperty().ref().get(0). The type of the value this element holds. Normally, this is the T of JAXBElement<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:
        getContentType in interface ElementInfo<java.lang.reflect.Type,​java.lang.Class>
        See Also:
        ElementInfo.getContentInMemoryType()