dk.brics.xmlgraph
Class OneOrMoreNode
java.lang.Object
dk.brics.xmlgraph.Node
dk.brics.xmlgraph.SingleContentNode
dk.brics.xmlgraph.OneOrMoreNode
- All Implemented Interfaces:
- Serializable, Cloneable
public class OneOrMoreNode
- extends SingleContentNode
One-or-more node.
- See Also:
- Serialized Form
Constructor Summary |
OneOrMoreNode(int content,
Origin origin)
Constructs a new one-or-more node. |
OneOrMoreNode
public OneOrMoreNode(int content,
Origin origin)
- Constructs a new one-or-more node.
- Parameters:
content
- outgoing edge representing the contentorigin
- source information (null if not applicable)
clone
protected OneOrMoreNode clone()
- Description copied from class:
Node
- Clones this node.
- Specified by:
clone
in class SingleContentNode
process
public <T> T process(NodeProcessor<T> v)
- Description copied from class:
Node
- Applies the given node processor on this node.
- Specified by:
process
in class Node
- Type Parameters:
T
- return type- Parameters:
v
- node processor
- Returns:
- result from processor
Copyright © 2005-2010 Anders Møller.