Package com.thaiopensource.xml.dtd.om
Class ModelGroup
- java.lang.Object
-
- com.thaiopensource.xml.dtd.om.ModelGroup
-
- Direct Known Subclasses:
Any,Choice,ElementRef,ModelGroupRef,OneOrMore,Optional,Pcdata,Sequence,ZeroOrMore
public abstract class ModelGroup extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intANYstatic intCHOICEstatic intELEMENT_REFstatic intMODEL_GROUP_REFstatic intONE_OR_MOREstatic intOPTIONALstatic intPCDATAstatic intSEQUENCEstatic intZERO_OR_MORE
-
Constructor Summary
Constructors Constructor Description ModelGroup()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidaccept(ModelGroupVisitor visitor)abstract intgetType()
-
-
-
Field Detail
-
CHOICE
public static final int CHOICE
- See Also:
- Constant Field Values
-
SEQUENCE
public static final int SEQUENCE
- See Also:
- Constant Field Values
-
ONE_OR_MORE
public static final int ONE_OR_MORE
- See Also:
- Constant Field Values
-
ZERO_OR_MORE
public static final int ZERO_OR_MORE
- See Also:
- Constant Field Values
-
OPTIONAL
public static final int OPTIONAL
- See Also:
- Constant Field Values
-
MODEL_GROUP_REF
public static final int MODEL_GROUP_REF
- See Also:
- Constant Field Values
-
ELEMENT_REF
public static final int ELEMENT_REF
- See Also:
- Constant Field Values
-
PCDATA
public static final int PCDATA
- See Also:
- Constant Field Values
-
ANY
public static final int ANY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public abstract int getType()
-
accept
public abstract void accept(ModelGroupVisitor visitor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-