com.sapportals.wcm.protocol.webdav

Class Name

java.lang.Object
  extended by com.sapportals.wcm.util.name.Name
      extended by com.sapportals.wcm.protocol.webdav.Name
All Implemented Interfaces:
IName, Serializable, Comparable
Direct Known Subclasses:
QualifiedName

public class Name
extends Name
implements Comparable

An XML Name, consisting of namespace name and local name.

Copyright (c) SAP AG 2001-2004

See Also:
Serialized Form

Constructor Summary
Name(Node node)
          Create Name from DOM node
Name(String expandedName)
           
Name(String namespace, String name)
          Create Name from namespace name and local name
 
Method Summary
 int compareTo(Name other)
           
 int compareTo(Object other)
           
 String getEmptyTag()
           
 String getEndTag()
           
 String getLocalName()
          gets the local name
 String getNamespaceUri()
          gets the namespace name
 String getStartTag()
           
 
Methods inherited from class com.sapportals.wcm.util.name.Name
equals, equalsNode, get, get, getName, getNamespace, getNamespaceOrNull, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Name

public Name(String namespace,
            String name)
Create Name from namespace name and local name

Parameters:
namespace - namespace name
name - local name

Name

public Name(String expandedName)
     throws Exception
Throws:
Exception

Name

public Name(Node node)
Create Name from DOM node

Parameters:
node - DOM node, supplying both namespace name and local name
Method Detail

compareTo

public int compareTo(Object other)
Specified by:
compareTo in interface Comparable

compareTo

public int compareTo(Name other)

getNamespaceUri

public final String getNamespaceUri()
gets the namespace name

Returns:
the namespace name

getLocalName

public final String getLocalName()
gets the local name

Returns:
the local name

getStartTag

public final String getStartTag()

getEmptyTag

public final String getEmptyTag()

getEndTag

public final String getEndTag()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice