Package eu.bandm.tools.dtd
Class DTD.Seq
java.lang.Object
eu.bandm.tools.dtd.DTD.ContentModel
eu.bandm.tools.dtd.DTD.CP
eu.bandm.tools.dtd.DTD.Seq
- All Implemented Interfaces:
Formattable,Cloneable
- Enclosing class:
DTD
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected NonNullList<DTD.CP> static final Function<DTD.Seq, NonNullList<DTD.CP>> Fields inherited from class eu.bandm.tools.dtd.DTD.CP
get_modifier, modifier, NONE, OPTIONAL, PLUS, STARFields inherited from class eu.bandm.tools.dtd.DTD.ContentModel
ANY, EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSeq()Seq(int modifier, NonNullList<DTD.CP> elems) Seq(NonNullList<DTD.CP> elems) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_elems(DTD.MATCH_ONLY_00 visitor) doclone()booleanformat()Returns a pretty-printable representation of this object.get_elems(Pattern<? super NonNullList<DTD.CP>> p) static StringinthashCode()modify(int modifier) with_elems(NonNullList<DTD.CP> val) booleanMethods inherited from class eu.bandm.tools.dtd.DTD.CP
combine, get_modifier, get_modifier, with_modifierMethods inherited from class eu.bandm.tools.dtd.DTD.ContentModel
x_equals
-
Field Details
-
BASE_HASH
protected static final int BASE_HASH -
elems
-
get_elems
-
-
Constructor Details
-
Seq
-
Seq
public Seq() -
Seq
-
-
Method Details
-
doclone
-
getFormatHint
-
format
Description copied from interface:FormattableReturns a pretty-printable representation of this object.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classDTD.CP- Returns:
- a format that represents this object in a pretty-printable way
-
modify
-
equals
- Overrides:
equalsin classDTD.ContentModel
-
x_equals
-
hashCode
public int hashCode()- Overrides:
hashCodein classDTD.ContentModel
-
initFrom
-
get_elems
-
with_elems
-
descend_elems
-
get_elems
-