Class XSDAlternative

    • Constructor Detail

      • XSDAlternative

        public XSDAlternative()
        Create a new TypeAlternative element
    • Method Detail

      • 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
      • getTypeAlternative

        public TypeAlternative getTypeAlternative()
        Get the TypeAlternative created by this xs:alternative element
        Returns:
        the corresponding TypeAlternative