com.sapportals.wcm.protocol.webdav
Class QualifiedName
java.lang.Object
com.sapportals.wcm.util.name.Name
com.sapportals.wcm.protocol.webdav.Name
com.sapportals.wcm.protocol.webdav.QualifiedName
- All Implemented Interfaces:
- IName, Serializable, Comparable
public class QualifiedName
- extends Name
A qualified and prefixed XML Name,
consisting of namespace name, prefix and local name.
Copyright (c) SAP AG 2001-2004
- See Also:
- Serialized Form
QualifiedName
public QualifiedName(String namespaceUri,
String localName,
String prefix)
- Parameters:
namespaceUri - namespace URIlocalName - prefix -
QualifiedName
public QualifiedName(String namespaceUri,
String qname)
- Parameters:
namespaceUri - namespace URIqname - a QName
QualifiedName
public QualifiedName(Node node)
- Parameters:
node - DOM element
getPrefix
public static String getPrefix(String prefixedName)
- gets the prefix from a prefixed name
- Parameters:
prefixedName - prefixed name
- Returns:
- the prefix or
null
getLocalName
public static String getLocalName(String prefixedName)
- gets the local name from a prefixed name
- Parameters:
prefixedName - prefixed Name
- Returns:
- the local name part
getInstance
public static QualifiedName getInstance(String name)
throws ParseException
- Builds a QualifiedName from a string in the following formats:
- Parameters:
name - input
- Throws:
ParseException - when format not OK
getPrefix
public String getPrefix()
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