|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.utils.XMLCharacterProperties
A class representing properties of characters according to various W3C recommendations XMLCharacterProperties provides convenience methods for commonly used character tests. For performance reasons, the tables used by the convenience methods are also public, and are directly accessed by performance critical routines.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
static byte |
E_CharDataFlag
|
static byte |
E_InitialNameCharFlag
|
static byte |
E_NameCharFlag
|
static byte[] |
fgAsciiAlphaChar
|
static byte[] |
fgAsciiCharData
|
static byte[] |
fgAsciiEncNameChar
|
static byte[] |
fgAsciiInitialNameChar
|
static byte[] |
fgAsciiInitialNCNameChar
|
static byte[] |
fgAsciiNameChar
|
static byte[] |
fgAsciiNCNameChar
|
static byte[] |
fgAsciiPubidChar
|
static byte[] |
fgAsciiWSCharData
|
static byte[] |
fgAsciiXDigitChar
|
static byte[] |
fgCharFlags
|
Constructor Summary | |
XMLCharacterProperties()
|
Method Summary | |
static void |
initCharFlags()
|
static boolean |
validEncName(java.lang.String encoding)
Check to see if a string is a valid encoding name according to [81] in the XML 1.0 Recommendation |
static boolean |
validName(java.lang.String name)
Check to see if a string is a valid Name according to [5] in the XML 1.0 Recommendation |
static boolean |
validNCName(java.lang.String name)
Check to see if a string is a valid NCName according to [5] from the XML Namespaces 1.0 Recommendation |
static boolean |
validNmtoken(java.lang.String nmtoken)
Check to see if a string is a valid Nmtoken according to [7] in the XML 1.0 Recommendation |
static int |
validPublicId(java.lang.String publicId)
Check to see if a string is a valid public identifier according to [13] in the XML 1.0 Recommendation |
static boolean |
validVersionNum(java.lang.String version)
Check to see if a string is a valid version string according to [26] in the XML 1.0 Recommendation |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final byte[] fgAsciiXDigitChar
public static final byte[] fgAsciiAlphaChar
public static final byte[] fgAsciiEncNameChar
public static final byte[] fgAsciiPubidChar
public static final byte[] fgAsciiInitialNameChar
public static final byte[] fgAsciiNameChar
public static final byte[] fgAsciiInitialNCNameChar
public static final byte[] fgAsciiNCNameChar
public static final byte[] fgAsciiCharData
public static final byte[] fgAsciiWSCharData
public static final byte E_CharDataFlag
public static final byte E_InitialNameCharFlag
public static final byte E_NameCharFlag
public static byte[] fgCharFlags
Constructor Detail |
public XMLCharacterProperties()
Method Detail |
public static boolean validVersionNum(java.lang.String version)
version
- string to checkpublic static boolean validEncName(java.lang.String encoding)
encoding
- string to checkpublic static int validPublicId(java.lang.String publicId)
publicId
- string to checkpublic static boolean validName(java.lang.String name)
name
- string to checkpublic static boolean validNCName(java.lang.String name)
name
- string to checkpublic static boolean validNmtoken(java.lang.String nmtoken)
nmtoken
- string to checjpublic static void initCharFlags()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |