public class EntityClassifier.CPEntityType extends Object
(a|b)* (a|b) a|b| |a|b ,a,b, a,b (a,(b)*) and also a with according settings,Must be called with the EXPANDED text of the source, or entity declarations must be substituted by sub-classing (cf.
TunedDTDParser.s()
and
TunedDTDParser.sOpt()
.
cp!=null & !toplevelModifier && !topIsSeq && isFlat
The same holds for being candidate for an abstract element declaration!Constructor and Description |
---|
CPEntityType() |
Modifier and Type | Method and Description |
---|---|
void |
classify(String text) |
DTD.CP |
get_cp()
The content model parsed, null in case of error!
|
boolean |
get_isFlat()
Whether no parentheses at any lower level.
|
boolean |
get_operatorAtEnd() |
boolean |
get_operatorAtStart() |
boolean |
get_topHasModifier()
Whether top-level expression is decorated with star, plus or questionmark
|
boolean |
get_topHasParenth()
Whether top-level expression is framed with explicit parentheses.
|
boolean |
get_topIsChoice() |
boolean |
get_topIsSeq() |
public DTD.CP get_cp()
public boolean get_topHasParenth()
public boolean get_topHasModifier()
public boolean get_isFlat()
public boolean get_topIsSeq()
public boolean get_topIsChoice()
public boolean get_operatorAtStart()
public boolean get_operatorAtEnd()
public void classify(String text)
see also the complete user documentation .