|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.rf.util.flyweight.FlyWeight
com.sap.netweaver.bc.rf.util.namespace.Name
public class Name
Class implementing a namespace-qualified name with a namespace prefix. Please see here .
| Field Summary |
|---|
| Fields inherited from interface com.sap.netweaver.bc.rf.util.namespace.IName |
|---|
NAMESPACE_SEPARATOR |
| Constructor Summary | |
|---|---|
protected |
Name(String namespace,
String localName)
Construct name based on given namespace and local name. |
| Method Summary | |
|---|---|
static void |
checkConstraints(String namespace,
String localName)
Check this name for illegal defintion and characters and throw exception when found. |
static void |
checkLocalNameConstraints(String localName)
Check local name for illegal format and throw exception when found. |
static void |
checkNamespaceConstraints(String namespace)
Check namespace for illegal format and throw exception when found. |
String |
getFullName()
Get full name, i.e. including namespace and local name. |
String |
getLocalName()
Get local name, i.e. the part behind the namespace. |
static IName |
getName(String fullName)
Get name based on given full name, which is the namespace and the local name in {namespace}localName format. |
static IName |
getName(String namespace,
String localName)
Get name based on given namespace and local name. |
String |
getNamespace()
Get namespace of the name or an empty string if there is no namespace within the name. |
String |
getNamespaceOrNull()
Get namespace of the name or null if there is no namespace within the name, e.g. used when the value is going to be passed to a XML DOM level 2 method. |
| Methods inherited from class com.sap.netweaver.bc.rf.util.flyweight.FlyWeight |
|---|
clone, equals, getAllFlyWeights, getAllFlyWeightsInherited, getFlyWeight, getFlyWeightId, getFlyWeightInherited, hashCode, removeAllFlyWeights, removeAllFlyWeightsInherited, removeFlyWeight, removeFlyWeightInherited, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Name(String namespace,
String localName)
namespace - namespacelocalName - local name| Method Detail |
|---|
public static IName getName(String fullName)
fullName - namespace and local name as full name
public static IName getName(String namespace,
String localName)
namespace - namespacelocalName - local name
public final String getFullName()
getFullName in interface INamepublic final String getLocalName()
getLocalName in interface INamepublic final String getNamespace()
getNamespace in interface INamepublic final String getNamespaceOrNull()
getNamespaceOrNull in interface IName
public static void checkConstraints(String namespace,
String localName)
throws IllegalArgumentException
namespace - namespacelocalName - local name
IllegalArgumentException - when the name contains illegal
characters
public static void checkNamespaceConstraints(String namespace)
throws IllegalArgumentException
namespace - namespace
IllegalArgumentException - when namespace is in illegal format
public static void checkLocalNameConstraints(String localName)
throws IllegalArgumentException
localName - local name
IllegalArgumentException - when local name is in illegal format| 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.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||