Joda System API

org.joda.property.xml
Class XMLName

java.lang.Object
  |
  +--org.joda.property.xml.XMLName

public final class XMLName
extends java.lang.Object

Class defining a generic element and children structure for XML. It is a lightweight version of the DOM model.

Author:
Stephen Colebourne, Andy Lehane

Field Summary
static java.lang.String NO_NAMESPACE_URI
           
 
Constructor Summary
XMLName(java.lang.String name)
          No namespace Constructor
XMLName(java.lang.String name, java.lang.String qualifiedName, java.lang.String nameSpaceURI)
          Namespace Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Perform an equality test against another object.
 java.lang.String getLocalName()
          Get the element name
 java.lang.String getNameSpaceURI()
          Gets the nameSpaceURI.
 java.lang.String getQualifiedName()
          Gets the qualified name.
 java.lang.String toString()
          Debugging toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_NAMESPACE_URI

public static final java.lang.String NO_NAMESPACE_URI
See Also:
Constant Field Values
Constructor Detail

XMLName

public XMLName(java.lang.String name)
No namespace Constructor

Parameters:
name - the name

XMLName

public XMLName(java.lang.String name,
               java.lang.String qualifiedName,
               java.lang.String nameSpaceURI)
Namespace Constructor

Parameters:
name - the name
qualifiedName - the qualified name
nameSpaceURI - the URI of the namespace
Method Detail

getLocalName

public java.lang.String getLocalName()
Get the element name


getQualifiedName

public java.lang.String getQualifiedName()
Gets the qualified name.

Returns:
Returns a String

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Gets the nameSpaceURI.

Returns:
Returns a String

toString

public java.lang.String toString()
Debugging toString

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Perform an equality test against another object.

Overrides:
equals in class java.lang.Object
Parameters:
o - Object to test for equality
Returns:
true if the objects are equal, false otherwise

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.