|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jrdf.parser.rdfxml.XmlUtil
Constructor Summary | |
XmlUtil()
|
Method Summary | |
static int |
findSplitIndex(String uri)
Tries to find a point in the supplied URI where this URI can be safely split into a namespace part and a local name. |
static boolean |
isCombiningChar(char c)
|
static boolean |
isDigit(char c)
|
static boolean |
isExtender(char c)
|
static boolean |
isIdeographic(char c)
|
static boolean |
isLetter(char c)
|
static boolean |
isNCName(String name)
Checks whether the supplied String is an NCName (Namespace Classified Name) as specified at http://www.w3.org/TR/REC-xml-names/#NT-NCName. |
static boolean |
isNCNameChar(char c)
|
static String |
resolveEntities(String text)
Replaces all XML character entities with the character they represent. |
static String |
resolveEntity(String entName)
Resolves an entity reference or character reference to its value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlUtil()
Method Detail |
public static String resolveEntities(String text)
public static String resolveEntity(String entName)
entName
- The 'name' of the reference. This is the string between
& and ;, e.g. amp, quot, #65 or #x41.
public static int findSplitIndex(String uri)
uri
- The URI to split.
public static final boolean isNCName(String name)
public static final boolean isNCNameChar(char c)
public static final boolean isLetter(char c)
public static final boolean isIdeographic(char c)
public static final boolean isCombiningChar(char c)
public static final boolean isDigit(char c)
public static final boolean isExtender(char c)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |