|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.name.Name
public class Name
Generic class for the representation of namespace-qualified names.
Copyright (c) SAP AG 2001-2004
| Constructor Summary | |
|---|---|
Name(String prefixedName)
Deprecated. since NW04 SPS19 / NW04s SP10 - please use Name.get() instead |
|
Name(String namespace,
String name)
Deprecated. since NW04 SPS19 / NW04s SP10 - please use Name.get() instead |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
boolean |
equalsNode(Node node)
Compare namespace name and local name with namespace and name of a DOM node. |
static Name |
get(String prefixedName)
|
static Name |
get(String namespace,
String name)
|
String |
getName()
return get the local name |
String |
getNamespace()
Returns the namespace URI (a missing namespace is mapped to an empty string). |
String |
getNamespaceOrNull()
Returns the namespace URI (a missing namespace is mapped to null
). |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Name(String namespace,
String name)
public Name(String prefixedName)
throws Exception
Exception| Method Detail |
|---|
public static final Name get(String namespace,
String name)
namespace - namespaceUri. Note that both "" (the empty string) and
null are internally treated identically (as a non-namespace-qualified
name).name - NCName
TODO : implement
public static final Name get(String prefixedName)
throws Exception
prefixedName - namespace & name in {namespace}name format
TODO : implement
Exceptionpublic final String getNamespace()
IName
getNamespace in interface INamepublic final String getNamespaceOrNull()
INamenull
). Use this function if the value is going to be passed to a XML DOM
level 2 method.
getNamespaceOrNull in interface INamenull when no namespace was given)public final String getName()
getName in interface INamepublic final boolean equals(Object other)
equals in class Objectpublic boolean equalsNode(Node node)
node - DOM node to compare with
public final int hashCode()
hashCode in class Objectpublic final String toString()
toString in class Object| Access Rights |
|---|
| 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||