org.treebind
Class XmlElementName

java.lang.Object
  extended byorg.treebind.DefaultNameImplementation
      extended byorg.treebind.XmlElementName
All Implemented Interfaces:
Name

public class XmlElementName
extends DefaultNameImplementation
implements Name

Name implementation representing XML element names.

Author:
Eric van der Vlist
See Also:
XmlAttributeName, XmlProductionName, Name

Constructor Summary
XmlElementName(java.lang.String fullName)
          Creates a new XmlElementName from its the full name.
XmlElementName(java.lang.String namespaceUri, java.lang.String localName)
          Creates a new XmlElementName from its the namespace URI and local name of the element.
 
Methods inherited from class org.treebind.DefaultNameImplementation
equals, getDomainName, getFullName, getLocalName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.treebind.Name
equals, getDomainName, getFullName, getLocalName
 

Constructor Detail

XmlElementName

public XmlElementName(java.lang.String fullName)
Creates a new XmlElementName from its the full name. Following the RDF conventions, the full name is the concatenation of the namespace URI ending by either a "#" or a "/" and the local name.

Parameters:
fullName -

XmlElementName

public XmlElementName(java.lang.String namespaceUri,
                      java.lang.String localName)
Creates a new XmlElementName from its the namespace URI and local name of the element.

Parameters:
namespaceUri - the namespace URI
localName - the local name