dk.brics.xmlgraph.validator
Class ElementCollector
java.lang.Object
dk.brics.xmlgraph.validator.ElementCollector
public class ElementCollector
- extends Object
Collector of element nodes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementCollector
public ElementCollector()
- Constructs a new collector.
collect
public Collection<ElementNode> collect(Node n,
XMLGraph xg,
NodeKind[] nodekind)
- Collects element nodes from the given node.
Results are cached by the converter.
- Parameters:
n
- nodexg
- XML graphnodekind
- node kinds for the XML graph
- Returns:
- collection of element nodes
Copyright © 2005-2010 Anders Møller.