|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ximpleware.extended.VTDGenHuge
public class VTDGenHuge
VTDGenHuge implementation supporting extended VTD (256GB file size). Current support built-in entities only It parses DTD, but doesn't resolve declared entities
Constructor Summary | |
---|---|
VTDGenHuge()
VTDGenHuge constructor method. |
Method Summary | |
---|---|
void |
clear()
Clear internal states so VTDGEn can process the next file. |
VTDNavHuge |
getNav()
This method returns the VTDNavHuge object after parsing, it also cleans internal state so VTDGenHuge can process the next file. |
void |
parse(boolean NS)
Generating VTD tokens and Location cache info. |
boolean |
parseFile(java.lang.String fileName,
boolean ns)
parseFile with default mode set to IN_MEMORY |
boolean |
parseFile(java.lang.String fileName,
boolean ns,
int mode)
This method parses the XML file and returns a boolean indicating if it is successful or not. |
void |
setDoc(com.ximpleware.extended.IByteBuffer xb1)
Set the XMLDoc container. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public long[] attr_name_array
public static final int FORMAT_ASCII
public static final int FORMAT_ISO_8859_1
public static final int FORMAT_ISO_8859_10
public static final int FORMAT_ISO_8859_11
public static final int FORMAT_ISO_8859_12
public static final int FORMAT_ISO_8859_13
public static final int FORMAT_ISO_8859_14
public static final int FORMAT_ISO_8859_15
public static final int FORMAT_ISO_8859_16
public static final int FORMAT_ISO_8859_2
public static final int FORMAT_ISO_8859_3
public static final int FORMAT_ISO_8859_4
public static final int FORMAT_ISO_8859_5
public static final int FORMAT_ISO_8859_6
public static final int FORMAT_ISO_8859_7
public static final int FORMAT_ISO_8859_8
public static final int FORMAT_ISO_8859_9
public static final int FORMAT_UTF_16BE
public static final int FORMAT_UTF_16LE
public static final int FORMAT_UTF8
public static final int FORMAT_WIN_1250
public static final int FORMAT_WIN_1251
public static final int FORMAT_WIN_1252
public static final int FORMAT_WIN_1253
public static final int FORMAT_WIN_1254
public static final int FORMAT_WIN_1255
public static final int FORMAT_WIN_1256
public static final int FORMAT_WIN_1257
public static final int FORMAT_WIN_1258
public static final int IN_MEMORY
public static final int MAX_DEPTH
public static final int MAX_PREFIX_LENGTH
public static final int MAX_QNAME_LENGTH
public static final int MAX_TOKEN_LENGTH
public static final int MEM_MAPPED
public static final int TOKEN_ATTR_NAME
public static final int TOKEN_ATTR_NS
public static final int TOKEN_ATTR_VAL
public static final int TOKEN_CDATA_VAL
public static final int TOKEN_CHARACTER_DATA
public static final int TOKEN_COMMENT
public static final int TOKEN_DEC_ATTR_NAME
public static final int TOKEN_DEC_ATTR_VAL
public static final int TOKEN_DOCUMENT
public static final int TOKEN_DTD_VAL
public static final int TOKEN_ENDING_TAG
public static final int TOKEN_PI_NAME
public static final int TOKEN_PI_VAL
public static final int TOKEN_STARTING_TAG
Constructor Detail |
---|
public VTDGenHuge()
Method Detail |
---|
public void clear()
public VTDNavHuge getNav()
public void parse(boolean NS) throws com.ximpleware.extended.EncodingExceptionHuge, com.ximpleware.extended.EOFExceptionHuge, com.ximpleware.extended.EntityExceptionHuge, ParseExceptionHuge
NS
- boolean Enable namespace or not
ParseExceptionHuge
- Super class for any exceptions during parsing.
EOFExceptionHuge
- End of file exception.
EntityExceptionHuge
- Entity resolution exception.
EncodingExceptionHuge
- UTF/native encoding exception.public boolean parseFile(java.lang.String fileName, boolean ns)
fileName
- ns
-
public boolean parseFile(java.lang.String fileName, boolean ns, int mode)
fileName
- ns
- namespace aware or notmode
- indicates whether the file is loaded in memory of memory mapped
public void setDoc(com.ximpleware.extended.IByteBuffer xb1)
XMLBuffer
- xb1
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |