public class QNameHelper extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_NAME_LENGTH |
static String |
URI_SHA1_PREFIX |
Constructor and Description |
---|
QNameHelper() |
Modifier and Type | Method and Description |
---|---|
static QName |
forLN(String localname) |
static QName |
forLNS(String localname,
String uri) |
static QName |
forPretty(String pretty,
int offset) |
static String |
getLocalPart(String qname)
Returns the local name of the given node.
|
static String |
getPrefixPart(String qname)
Returns the local name of the given node.
|
static XMLName |
getXMLName(QName qname) |
static String |
hexsafe(String s) |
static String |
hexsafedir(QName name) |
static String |
namespace(SchemaType sType) |
static String |
pretty(QName name) |
static String |
readable(QName name) |
static String |
readable(QName name,
Map prefixes) |
static String |
readable(SchemaType sType) |
static String |
readable(SchemaType sType,
Map nsPrefix) |
static String |
suggestPrefix(String namespace) |
public static final int MAX_NAME_LENGTH
public static final String URI_SHA1_PREFIX
public static String readable(SchemaType sType)
public static String readable(SchemaType sType, Map nsPrefix)
public static String namespace(SchemaType sType)
public static String getLocalPart(String qname)
qname
- Input nameCopyright © 2010 - 2020 Adobe. All Rights Reserved