com.ricebridge.xmlman.in
Class NameInfo

java.lang.Object
  extended bycom.ricebridge.xmlman.in.NameInfo

public class NameInfo
extends Object

Contain entire name information of XML element, including namespace details.

This class can be used in HashMaps.


Constructor Summary
NameInfo(String pLocalName, String pQName, String pNamespaceURI, boolean pNamespaceAware)
          Describe an XML element name.
 
Method Summary
 String debugString()
          Debugging description.
 boolean equals(Object pObject)
          Equal if local name and namespace uri match.
 String getLocalName()
          Get the local part of the element name.
 String getNamespaceURI()
          Get the URI of the namespace for this element.
 String getQName()
           
 int hashCode()
          Hashcode computed on localname and namespace uri.
 boolean nameMatch(PathPart pPathPart)
          Test if this name matches the name test in the path part.
 String toString()
          Return qualified name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameInfo

public NameInfo(String pLocalName,
                String pQName,
                String pNamespaceURI,
                boolean pNamespaceAware)
Describe an XML element name.

Method Detail

getLocalName

public String getLocalName()
Get the local part of the element name.


getQName

public String getQName()

getNamespaceURI

public String getNamespaceURI()
Get the URI of the namespace for this element.


nameMatch

public boolean nameMatch(PathPart pPathPart)
Test if this name matches the name test in the path part.


equals

public boolean equals(Object pObject)
Equal if local name and namespace uri match.


hashCode

public int hashCode()
Hashcode computed on localname and namespace uri.


debugString

public String debugString()
Debugging description.


toString

public String toString()
Return qualified name.



Copyright © 2004-2005 Ricebridge