Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.outerj.pollo.xmleditor.util
Class NodeSet  view NodeSet download NodeSet.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.HashSet
              extended byorg.outerj.pollo.xmleditor.util.NodeSet
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.io.Serializable, java.util.Set

public class NodeSet
extends java.util.HashSet

Extension of java.util.HashSet that allows to work with an namespaceURI and localName.


Field Summary
 
Fields inherited from class java.util.HashSet
 
Constructor Summary
NodeSet()
           
 
Method Summary
 void add(java.lang.String namespaceURI, java.lang.String localName)
           
 boolean contains(java.lang.String namespaceURI, java.lang.String localName)
           
private  java.lang.String getHashString(java.lang.String uri, java.lang.String localName)
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

NodeSet

public NodeSet()
Method Detail

add

public void add(java.lang.String namespaceURI,
                java.lang.String localName)

contains

public boolean contains(java.lang.String namespaceURI,
                        java.lang.String localName)

getHashString

private final java.lang.String getHashString(java.lang.String uri,
                                             java.lang.String localName)