dk.brics.xmlgraph.converter
Class RepetitionFixer
java.lang.Object
dk.brics.xmlgraph.converter.RepetitionFixer
public class RepetitionFixer
- extends Object
Repetition fixer.
Converts certain OneOrMore nodes to zero-or-more.
Constructor Summary |
RepetitionFixer(String[] element_names)
Constructs a new repetition fixer for the given element names. |
Method Summary |
void |
fix(XMLGraph xg)
Fixes the given XML graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
common_element_names
public static final String[] common_element_names
- Common element names to fix.
RepetitionFixer
public RepetitionFixer(String[] element_names)
- Constructs a new repetition fixer for the given element names.
- Parameters:
element_names
- element names
fix
public void fix(XMLGraph xg)
- Fixes the given XML graph.
- Parameters:
xg
- XML graph
Copyright © 2005-2010 Anders Møller.