Interface RuntimeLeafInfo

    • Field Summary

      • Fields inherited from interface org.glassfish.jaxb.core.v2.model.core.NonElement

        ANYTYPE_NAME
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Class getClazz()
      The same as TypeInfo.getType() but returns the type as a Class.
      <V> Transducer<V> getTransducer()
      This method doesn't take the reference properties defined on RuntimeNonElementRef into account (such as ID-ness.)
      QName[] getTypeNames()
      Returns all the type names recognized by this type for unmarshalling.
      • Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.Locatable

        getLocation, getUpstream
      • Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.MaybeElement

        asElement, getElementName, isElement
      • Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.NonElement

        getTypeName, isSimpleType
      • Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.TypeInfo

        canBeReferencedByIDREF, getType
    • Method Detail

      • getClazz

        Class getClazz()
        The same as TypeInfo.getType() but returns the type as a Class.

        Note that the returned Class object does not necessarily represents a class declaration. It can be primitive types.

      • getTypeNames

        QName[] getTypeNames()
        Returns all the type names recognized by this type for unmarshalling.

        While conceptually this method belongs to RuntimeNonElement, if we do that we have to put a lot of dummy implementations everywhere, so it's placed here, where it's actually needed.

        Returns:
        Always non-null. Do not modify the returned array.