Class CTypeRef

  • All Implemented Interfaces:
    org.glassfish.jaxb.core.v2.model.core.NonElementRef<NType,​NClass>, org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,​NClass>

    public final class CTypeRef
    extends Object
    implements org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,​NClass>
    TypeRef for XJC. TODO: do we need the source schema component support here?
    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • defaultValue

        public final XmlString defaultValue
    • Method Detail

      • getTypeName

        public QName getTypeName()
      • getTarget

        public CNonElement getTarget()
        Specified by:
        getTarget in interface org.glassfish.jaxb.core.v2.model.core.NonElementRef<NType,​NClass>
      • getTagName

        public QName getTagName()
        Specified by:
        getTagName in interface org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,​NClass>
      • isNillable

        public boolean isNillable()
        Specified by:
        isNillable in interface org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,​NClass>
      • getDefaultValue

        public String getDefaultValue()
        Inside XJC, use defaultValue that has context information. This method is to override the one defined in the runtime model.
        Specified by:
        getDefaultValue in interface org.glassfish.jaxb.core.v2.model.core.TypeRef<NType,​NClass>
        See Also:
        defaultValue
      • isLeaf

        public boolean isLeaf()
      • getSource

        public org.glassfish.jaxb.core.v2.model.core.PropertyInfo<NType,​NClass> getSource()
        Specified by:
        getSource in interface org.glassfish.jaxb.core.v2.model.core.NonElementRef<NType,​NClass>