Package relaxngcc.automaton
Class Alphabet.Fork
java.lang.Object
relaxngcc.automaton.Alphabet
relaxngcc.automaton.Alphabet.Fork
- Enclosing class:
- Alphabet
Alphabet that "forks" a state into a set of sub-automata.
Used to handle <interleave>s
-
Nested Class Summary
Nested classes/interfaces inherited from class relaxngcc.automaton.Alphabet
Alphabet.DataText, Alphabet.EnterAttribute, Alphabet.EnterElement, Alphabet.ForAction, Alphabet.Fork, Alphabet.LeaveAttribute, Alphabet.LeaveElement, Alphabet.Markup, Alphabet.Ref, Alphabet.Text, Alphabet.ValueText
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal NameClass[]
for attributes.final boolean[]
for texts.final NameClass[]
NameClass that represents elements that can be consumed by each branch.final State[]
Initial states of sub-automata.Fields inherited from class relaxngcc.automaton.Alphabet
_locator, DATA_TEXT, ENTER_ATTRIBUTE, ENTER_ELEMENT, FOR_ACTION, FORK, LEAVE_ATTRIBUTE, LEAVE_ELEMENT, REF_BLOCK, VALUE_TEXT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class relaxngcc.automaton.Alphabet
asDataText, asEnterAttribute, asEnterElement, asForAction, asLeaveAttribute, asLeaveElement, asMarkup, asRef, asText, asValueText, getType, isDataText, isEnterAttribute, isEnterElement, isForAction, isFork, isLeaveAttribute, isLeaveElement, isMarkup, isRef, isText, isValueText, printLocator
-
Field Details
-
_subAutomata
Initial states of sub-automata. -
_elementNameClasses
NameClass that represents elements that can be consumed by each branch. -
_attributeNameClasses
for attributes. -
_canConsumeText
public final boolean[] _canConsumeTextfor texts.
-
-
Constructor Details
-
Fork
-
-
Method Details
-
toString
-
hashCode
public int hashCode() -
equals
-
asFork
-
getClassName
Gets the name of the InterleaveFilter implementation class. -
isNullable
public boolean isNullable()Returns true if this fork&join is nullable.
-