public class QNameProvider extends Object
| Constructor and Description |
|---|
QNameProvider() |
| Modifier and Type | Method and Description |
|---|---|
static int |
findLastNameIndex(String str) |
static int |
findNameStartIndex(String str) |
static int |
findNextNonNameIndex(String str,
int startIndex) |
String |
getPrefix(String uri) |
Set |
getPrefixSet() |
String |
getURI(String prefix) |
Set |
getURISet() |
static boolean |
isNameChar(char ch) |
static boolean |
isNameStartChar(char ch) |
String |
longForm(String qname) |
boolean |
setMapping(String prefix,
String uri) |
String |
shortForm(String uri) |
String |
shortForm(String uri,
boolean default_to_uri) |
String |
shortForm(URI uri) |
protected static String[] |
splitURI(String uriString) |
String |
toString() |
public static boolean isNameStartChar(char ch)
public static boolean isNameChar(char ch)
public static int findNameStartIndex(String str)
public static int findLastNameIndex(String str)
public static int findNextNonNameIndex(String str, int startIndex)
public Set getPrefixSet()
public Set getURISet()
Copyright © 2019. All rights reserved.