|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.xmlgraph.converter.XMLGraphReducer
public class XMLGraphReducer
XML graph reducer.
References (including root pointers) to non-gapChoiceNodes and SequenceNodes
with exactly one child are redirected to the child.
| Constructor Summary | |
|---|---|
XMLGraphReducer()
Constructs a new XML graph reducer. |
|
| Method Summary | |
|---|---|
Node |
reduce(Node n,
XMLGraph xg,
int from_index,
boolean leave_choices)
Reduces the given XML graph fragment. |
void |
reduce(XMLGraph xg)
Reduces the given XML graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLGraphReducer()
| Method Detail |
|---|
public Node reduce(Node n,
XMLGraph xg,
int from_index,
boolean leave_choices)
n - fragment rootxg - XML graph containing the fragmentfrom_index - node index where reduction startsleave_choices - if true, ChoiceNodes are not modified
public void reduce(XMLGraph xg)
xg - XML graph
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||