org.castor.xmlctf.xmldiff.xml.nodes
Class Namespace
java.lang.Object
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.
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $Namespace(String prefix, String namespaceURI) - Creates a new Namespace object for an XML Element.
|
String | getNamespaceUri() - Returns the string value of the namespace.
|
String | getPrefix() - Returns the prefix of this namespace.
|
Namespace
public Namespace(String prefix,
String namespaceURI)
Creates a new Namespace object for an XML Element.
prefix
- the prefix of this namespace binding. (May be null.)namespaceURI
- the namespace URI mapped to this prefix. (May be
null.)
getNamespaceUri
public String getNamespaceUri()
Returns the string value of the namespace.
- The string value of the namespace.
getPrefix
public String getPrefix()
Returns the prefix of this namespace.
- The prefix of this namespace.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com