Class XSDAttributeGroup

    • Constructor Detail

      • XSDAttributeGroup

        public XSDAttributeGroup()
        Creates a new AttributeGroup element
    • Method Detail

      • isReference

        public boolean isReference()
        Is this an attribute group declaration or a reference?
        Returns:
        true if it is a reference
      • getAttributeGroupDecl

        public AttributeGroupDecl getAttributeGroupDecl()
        Returns the AttributeGroupDecl created by this AttributeGroup declaration.
        Returns:
        the AttributeGroupDecl corresponding to this xs:attribute-group element if it is a global attribute group declaration; if it is an attribute group reference, return null.
      • getAttributeGroupReference

        public AttributeGroupReference getAttributeGroupReference()
        Return the AttributeGroupReference, if this is a reference
        Returns:
        the AttributeGroupReference, or null if this is not a reference
      • isFinalState

        protected boolean isFinalState​(int state)
        Description copied from class: SchemaElement
        For elements whose content model is parsed using a finite state machine, test whether a given state is a final state. The default implementation of this method is never used; it exists for the benefit of subclasses that do not use this mechanism
        Overrides:
        isFinalState in class SchemaElement
        Parameters:
        state - the state to be tested
        Returns:
        true if the given state is a final state