public class Name extends Object implements IName, Serializable
Copyright (c) SAP AG 2001-2004
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public Name(String namespace, String name)
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 : implementpublic static final Name get(String prefixedName) throws Exception
prefixedName - namespace and name in {namespace}name format
TODO : implementExceptionpublic final String getNamespace()
INamegetNamespace 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()
public boolean equalsNode(Node node)
node - DOM node to compare with| 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
|
Copyright 2021 SAP SE Complete Copyright Notice