org.castor.xmlctf.xmldiff.xml.nodes
Class Namespace

java.lang.Object
  extended by org.castor.xmlctf.xmldiff.xml.nodes.Namespace

public class Namespace
extends java.lang.Object

A class representing a Namespace for an Element. Objects of this type are not part of the XML node tree.

Since:
Castor 1.1
Version:
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
Author:
Edward Kuns

Constructor Summary
Namespace(java.lang.String prefix, java.lang.String namespaceURI)
          Creates a new Namespace object for an XML Element.
 
Method Summary
 java.lang.String getNamespaceUri()
          Returns the string value of the namespace.
 java.lang.String getPrefix()
          Returns the prefix of this namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Namespace

public Namespace(java.lang.String prefix,
                 java.lang.String namespaceURI)
Creates a new Namespace object for an XML Element.

Parameters:
prefix - the prefix of this namespace binding. (May be null.)
namespaceURI - the namespace URI mapped to this prefix. (May be null.)
Method Detail

getPrefix

public java.lang.String getPrefix()
Returns the prefix of this namespace.

Returns:
The prefix of this namespace.

getNamespaceUri

public java.lang.String getNamespaceUri()
Returns the string value of the namespace.

Returns:
The string value of the namespace.


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com