|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.xml.dtd.DTDTokenizer
public final class DTDTokenizer
Utility class for tokenizing a DTD.
| Method Summary | |
|---|---|
static String[] |
arrayListToStrings(List<String> arrayList)
Converts an ArrayList containing Strings to a String[]. |
static boolean |
hasElementChildren(String[] tokens)
Indicates whether a set of tokens represents an element whose content model contains child elements. |
static boolean |
hasPCDATA(String[] tokens)
Indicates whether a set of tokens represents an element whose content model contains PCDATA. |
static boolean |
isElementContentEmpty(String[] tokens)
Indicates whether a set of tokens represents an element whose content model is empty. |
static boolean |
isElementDelimiter(int character)
Indicates whether a given character is an element delimiter. |
static boolean |
isWhitespace(int character)
Indicates whether a given character is whitespace. |
static String[] |
tokenizeElementContent(String content)
Returns the content of an Element as an array of String tokens. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String[] tokenizeElementContent(String content)
content - The Element content to be parsed.
public static boolean isWhitespace(int character)
character - The character to be tested.
public static boolean isElementDelimiter(int character)
character - The character to be tested.
public static boolean isElementContentEmpty(String[] tokens)
tokens - The tokens to be tested.
public static boolean hasPCDATA(String[] tokens)
tokens - The tokens to be tested.
public static boolean hasElementChildren(String[] tokens)
tokens - The tokens to be tested.
public static String[] arrayListToStrings(List<String> arrayList)
arrayList - The raw list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||