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