|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrelaxngcc.automaton.Alphabet
public abstract class Alphabet
An alphabet in RelaxNGCC is one of following types: 1. element start 2. element end 3. attribute start 3. attribute end 4. ref 5. typed value (<data>) 6. fixed value (<value>)
Nested Class Summary | |
---|---|
static class |
Alphabet.DataText
|
static class |
Alphabet.EnterAttribute
Alphabet of the type "enter attribute." |
static class |
Alphabet.EnterElement
Alphabet of the type "enter element." |
static class |
Alphabet.ForAction
|
static class |
Alphabet.Fork
Alphabet that "forks" a state into a set of sub-automata. |
static class |
Alphabet.LeaveAttribute
Alphabet of the type "leave attribute." |
static class |
Alphabet.LeaveElement
Alphabet of the type "leave element." |
static class |
Alphabet.Markup
Base class for (enter|leave)(Attribute|Element). |
static class |
Alphabet.Ref
Alphabet of the type "ref." |
static class |
Alphabet.Text
|
static class |
Alphabet.ValueText
|
Field Summary | |
---|---|
org.xml.sax.Locator |
_locator
Source location where this alphabet came from. |
static int |
DATA_TEXT
|
static int |
ENTER_ATTRIBUTE
|
static int |
ENTER_ELEMENT
|
static int |
FOR_ACTION
|
static int |
FORK
|
static int |
LEAVE_ATTRIBUTE
|
static int |
LEAVE_ELEMENT
|
static int |
REF_BLOCK
|
static int |
VALUE_TEXT
|
Method Summary | |
---|---|
Alphabet.DataText |
asDataText()
|
Alphabet.EnterAttribute |
asEnterAttribute()
|
Alphabet.EnterElement |
asEnterElement()
|
Alphabet.ForAction |
asForAction()
|
Alphabet.Fork |
asFork()
|
Alphabet.LeaveAttribute |
asLeaveAttribute()
|
Alphabet.LeaveElement |
asLeaveElement()
|
Alphabet.Markup |
asMarkup()
|
Alphabet.Ref |
asRef()
|
Alphabet.Text |
asText()
|
Alphabet.ValueText |
asValueText()
|
boolean |
equals(java.lang.Object o)
|
int |
getType()
|
abstract int |
hashCode()
|
boolean |
isDataText()
|
boolean |
isEnterAttribute()
|
boolean |
isEnterElement()
|
boolean |
isForAction()
|
boolean |
isFork()
|
boolean |
isLeaveAttribute()
|
boolean |
isLeaveElement()
|
boolean |
isMarkup()
|
boolean |
isRef()
|
boolean |
isText()
|
boolean |
isValueText()
|
void |
printLocator(java.io.PrintStream out)
Prints the locator associated with this. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ENTER_ELEMENT
public static final int LEAVE_ELEMENT
public static final int ENTER_ATTRIBUTE
public static final int LEAVE_ATTRIBUTE
public static final int DATA_TEXT
public static final int VALUE_TEXT
public static final int REF_BLOCK
public static final int FORK
public static final int FOR_ACTION
public final org.xml.sax.Locator _locator
Method Detail |
---|
public final int getType()
public void printLocator(java.io.PrintStream out)
public Alphabet.Markup asMarkup()
public Alphabet.EnterElement asEnterElement()
public Alphabet.LeaveElement asLeaveElement()
public Alphabet.EnterAttribute asEnterAttribute()
public Alphabet.LeaveAttribute asLeaveAttribute()
public Alphabet.Ref asRef()
public Alphabet.Text asText()
public Alphabet.ValueText asValueText()
public Alphabet.DataText asDataText()
public Alphabet.Fork asFork()
public Alphabet.ForAction asForAction()
public final boolean isMarkup()
public final boolean isEnterElement()
public final boolean isLeaveElement()
public final boolean isEnterAttribute()
public final boolean isLeaveAttribute()
public final boolean isRef()
public final boolean isText()
public final boolean isValueText()
public final boolean isDataText()
public final boolean isFork()
public final boolean isForAction()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public abstract int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |