public class PathMap extends DTM.SinglePathVisitor
Modifier and Type | Field and Description |
---|---|
protected Set<Integer> |
accepting
All accepting states.
|
protected Set<Integer> |
allStates
All states.
|
protected Set<DTM.Element> |
anyContents |
protected Multimap<Integer,DTM.Element> |
belongsTo
content model position to the element it is part of its content model.
|
protected static int |
code_min_cp |
protected DTM.Dtd |
dtd |
static DTM.Element |
el_PCDATA |
protected Multimap<Integer,Integer> |
goesTo
adjacency relation between content model positions.
|
protected Multimap<Integer,Integer> |
goesTo_transRefl
reflexive and transitive closure
|
protected Multimap<Integer,DTM.Element> |
refersTo
content model position to the element it refers to.
|
protected Map<DTM.Element,Integer> |
startPos
zero-th content model position of an element
|
static PathMap |
textOnly |
_visitor_debug_stream, partial
Constructor and Description |
---|
PathMap() |
Modifier and Type | Method and Description |
---|---|
void |
action(DTM.Any x) |
void |
action(DTM.Choice choice) |
void |
action(DTM.Element element) |
void |
action(DTM.Empty e) |
void |
action(DTM.Mixed mixed) |
void |
action(DTM.Sequence seq) |
void |
action(DTM.Singleton sing) |
void |
dump(PrintStream p) |
protected void |
init(DTM.Dtd origDtd)
Construct all relations which represent the parsing automaton.
|
action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action, action
_visitor_trace, action, action, action, foreignObject, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, nomatch
protected DTM.Dtd dtd
protected Multimap<Integer,DTM.Element> refersTo
protected Multimap<Integer,DTM.Element> belongsTo
protected Map<DTM.Element,Integer> startPos
protected Multimap<Integer,Integer> goesTo
protected Multimap<Integer,Integer> goesTo_transRefl
protected Set<DTM.Element> anyContents
protected static final int code_min_cp
public static final DTM.Element el_PCDATA
public static final PathMap textOnly
protected void init(DTM.Dtd origDtd)
public void dump(PrintStream p)
public void action(DTM.Element element)
action
in class DTM.SinglePathVisitor
public void action(DTM.Any x)
action
in class DTM.SinglePathVisitor
public void action(DTM.Mixed mixed)
action
in class DTM.SinglePathVisitor
public void action(DTM.Empty e)
action
in class DTM.SinglePathVisitor
public void action(DTM.Singleton sing)
action
in class DTM.SinglePathVisitor
public void action(DTM.Choice choice)
action
in class DTM.SinglePathVisitor
public void action(DTM.Sequence seq)
action
in class DTM.SinglePathVisitor
see also the complete user documentation .