Package com.sun.tools.txw2.model
Class NodeSet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<E>
-
- java.util.LinkedHashSet<WriterNode>
-
- com.sun.tools.txw2.model.NodeSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<WriterNode>
,java.util.Collection<WriterNode>
,java.util.Set<WriterNode>
public class NodeSet extends java.util.LinkedHashSet<WriterNode>
Root of the model.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeSet(TxwOptions opts, Leaf entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends WriterNode>
java.util.Collection<T>subset(java.lang.Class<T> t)
void
write(TxwOptions opts)
Generate code-
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
NodeSet
public NodeSet(TxwOptions opts, Leaf entry)
-
-
Method Detail
-
subset
public <T extends WriterNode> java.util.Collection<T> subset(java.lang.Class<T> t)
-
write
public void write(TxwOptions opts)
Generate code
-
-