Class TypeAttribute

java.lang.Object
org.jibx.schema.attributes.AttributeBase
org.jibx.schema.attributes.TypeAttribute
All Implemented Interfaces:
IComponent

public class TypeAttribute extends AttributeBase
Global type reference as an attribute.
Author:
Dennis M. Sosnoski
  • Field Details

    • s_allowedAttributes

      public static final StringArray s_allowedAttributes
      List of allowed attribute names.
    • m_qname

      private QName m_qname
      Qualified name of type.
  • Constructor Details

    • TypeAttribute

      public TypeAttribute(SchemaBase owner)
      Constructor.
      Parameters:
      owner - owning element
  • Method Details

    • unmarshalFactory

      private static TypeAttribute unmarshalFactory(IUnmarshallingContext ictx)
      Factory method for use during unmarshalling. This gets the owning element from the unmarshalling context, and creates an instance of the attribute tied to that element.
      Parameters:
      ictx -
      Returns:
      constructed instance
    • getType

      public QName getType()
      Get type qualified name.
      Returns:
      type qualified name
    • setType

      public void setType(QName qname)
      Set type qualified name.
      Parameters:
      qname - type qualified name