Package com.jalios.jstore
Class LogManagerHandler
java.lang.Object
com.jalios.jstore.LogManagerHandler
- All Implemented Interfaces:
StoreConstants,ContentHandler
- Direct Known Subclasses:
LogCleaner,LogManagerDeltaHandler,LogManagerLoadHandler,LogManagerSyncHandler,LogManagerVersionHandler
This class is the super class of all the LogManager handlers
- Author:
- Olivier Dedieu
-
Field Summary
FieldsFields inherited from interface com.jalios.jstore.StoreConstants
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, LOG_DIR_LOG_PREFIX, LOG_DIR_LOG_WORK, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidvoidendElement(String namespaceURI, String localName, String rawName) voidendPrefixMapping(String prefix) voidErrorvoidFatal ErrorintvoidhandleLogEntryException(LogEntry logEntry) This method is called when an exception is caught while processing a logEntryvoidignorableWhitespace(char[] ch, int start, int length) voidprocessingInstruction(String target, String data) abstract voidprocessInnerLogEntry(InnerLogEntry logEntry) Process an InnerLogEntryabstract voidprocessStorableLogEntry(StorableLogEntry logEntry) Process a StorableLogEntryvoidsetDocumentLocator(Locator locator) voidskippedEntity(String name) voidvoidstartElement(String namespaceURI, String localName, String qName, Attributes atts) voidstartPrefixMapping(String prefix, String uri) voidWarningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
locator
-
maxLineNumber
protected int maxLineNumber
-
-
Constructor Details
-
LogManagerHandler
public LogManagerHandler()
-
-
Method Details
-
processInnerLogEntry
Process an InnerLogEntry- Parameters:
logEntry- the InnerLogEntry to process- Since:
- jcms-4.0.2
-
processStorableLogEntry
Process a StorableLogEntry- Parameters:
logEntry- the StorableLogEntry to process- Since:
- jcms-4.0.2
-
handleLogEntryException
This method is called when an exception is caught while processing a logEntry- Parameters:
logEntry- the logEntry- Since:
- jcms-4.0.2
-
getMaxLineNumber
public int getMaxLineNumber()- Returns:
- the max line number read
- Since:
- jcms-5.0.0
-
startElement
- Specified by:
startElementin interfaceContentHandler
-
setDocumentLocator
- Specified by:
setDocumentLocatorin interfaceContentHandler
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Throws:
SAXException
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespacein interfaceContentHandler- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstructionin interfaceContentHandler- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMappingin interfaceContentHandler
-
endPrefixMapping
- Specified by:
endPrefixMappingin interfaceContentHandler- Throws:
SAXException
-
skippedEntity
- Specified by:
skippedEntityin interfaceContentHandler- Throws:
SAXException
-
warning
Warning -
error
Error -
fatalError
Fatal Error- Throws:
SAXException
-