de.ispsoft.jaxme
Class UriName

java.lang.Object
  extended byde.ispsoft.jaxme.UriName

public class UriName
extends java.lang.Object

A class that allows to use the combination of namespace URI and local name as a Map key.

Author:
Jochen Wiedmann

Constructor Summary
UriName(java.lang.String pURI, java.lang.String pLocalName)
          Creates a new instance of UriName
 
Method Summary
 boolean equals(java.lang.Object pOtherUriName)
          Returns whether URI and hash code are the same.
 java.lang.String getFullName()
          Returns a string representation for use in error messages and the like.
 java.lang.String getLocalName()
          Returns the local name.
 java.lang.String getURI()
          Returns the namespace URI.
 int hashCode()
          Returns the elements hash code.
 java.lang.String toString()
          Converts the UriName into a string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UriName

public UriName(java.lang.String pURI,
               java.lang.String pLocalName)
Creates a new instance of UriName

Method Detail

getURI

public java.lang.String getURI()

Returns the namespace URI.


getLocalName

public java.lang.String getLocalName()

Returns the local name.


hashCode

public int hashCode()

Returns the elements hash code.


equals

public boolean equals(java.lang.Object pOtherUriName)

Returns whether URI and hash code are the same.


getFullName

public java.lang.String getFullName()

Returns a string representation for use in error messages and the like.


toString

public java.lang.String toString()

Converts the UriName into a string.