Public Member Functions | |
ACSLogParserVTD () throws Exception | |
synchronized ILogEntry | parse (String xmlString) throws LogParseException |
Private Member Functions | |
void | initReflection () throws Exception |
Vector< AdditionalData > | getAdditionalData (Object vNav, ByteArrayOutputStream os, byte[] bytesArray) throws Exception |
String | getString (Object vtdNav, ByteArrayOutputStream os, String attrName, byte[] bytesXML) throws Exception |
Integer | getInteger (Object vtdNav, ByteArrayOutputStream os, String attrName, byte[] bytesXML) throws Exception |
Long | getLongFromTimestamp (Object vtdNav, ByteArrayOutputStream os, String attrName, byte[] bytesXML) throws LogParseException, Exception |
LogTypeHelper | determineEntryType (Object vtdNav) throws Exception |
LogEntry | makeLogEntryFromParsedXML (byte[] bytesArray, String xmlString) throws LogParseException |
String | getLogMessage (Object vn) throws Exception |
Private Attributes | |
Object | vtdGen = null |
Method | VTDGen_clear = null |
Method | VTDGen_setDoc = null |
Method | VTDGen_parse = null |
Method | VTDGen_getNav = null |
int | NAV_ROOT |
int | NAV_FIRST_CHILD |
int | NAV_NEXT_SIBLING |
Method | VTDNav_toElement = null |
Method | VTDNav_toElement_String = null |
Method | VTDNav_matchElement = null |
Method | VTDNav_hasAttr = null |
Method | VTDNav_toString = null |
Method | VTDNav_getText = null |
Method | VTDNav_getAttrVal = null |
Method | VTDNav_getAttrCount = null |
Method | VTDNav_getTokenOffset = null |
Method | VTDNav_getTokenCount = null |
Method | VTDNav_getTokenLength = null |
Method | VTDNav_toNormalizedString = null |
Static Private Attributes | |
final Object[] | nullObj = new Object[0] |
|
Constructor. |
|
Returns the entry type as an Integer for the current log that is being parsed.
|
|
Gets a Vector<AdditionalData> from VTD XML parser (using VTDNav navigation)
|
|
Gets an Integer from VTD XML parser (using VTDNav navigation)
|
|
Get the body of a log. The log message must be read with this method because of the mixed content
|
|
Gets a Long from VTD XML parser (using VTDNav navigation)
|
|
Gets a String from VTD XML parser (using VTDNav navigation)
|
|
Initialize all the fields and methods with reflection.
|
|
Creates a LogEntry from raw XML, using a VTD XML parser.
|
|
Implements required method of ACSLogParser interface.
Implements alma::acs::logging::engine::parser::ACSLogParser.
|
|
GETNav.FIRST_CHILD |
|
GETNav.NEXT_SIBLING |
|
GETNav.ROOT |
|
Support field to pass null while reflection invokes methods having no params |
|
private instance of VTDGen used for parsing XML |
|
VTDGen.clear(); |
|
VTDGen.getNav(); |
|
VTDGen.parse(boolean); |
|
VTDGen.setDoc(byte[]); |
|
VTDNav.getAttrCount(); |
|
VTDNav.getAttrVal(String); |
|
VTDNav.getText(); |
|
VTDNav.getTokenCount(); |
|
VTDNav.getTokenLength(int); |
|
VTDNav.getTokenOffset(int); |
|
VTDNav.hasAttr(String) |
|
VTDNav.matchElement(String) |
|
VTDNav.toElement(int) |
|
VTDNav.toElement(int,String) |
|
VTDNav.toNormalizedStringgetTokenLength(int); |
|
VTDNav.toString(int) |