Class DefaultStoreAnonymizerXmlHandler
- java.lang.Object
- 
- org.xml.sax.helpers.DefaultHandler
- 
- com.jalios.jstore.tools.anonymizer.impl.sax.DefaultStoreAnonymizerXmlHandler
 
 
- 
- All Implemented Interfaces:
- StoreConstants,- StoreAnonymizerConstants,- org.xml.sax.ContentHandler,- org.xml.sax.DTDHandler,- org.xml.sax.EntityResolver,- org.xml.sax.ErrorHandler
 - Direct Known Subclasses:
- StoreAnonymizerXmlHandler,- StoreListTagsXmlHandler
 
 public class DefaultStoreAnonymizerXmlHandler extends org.xml.sax.helpers.DefaultHandler implements StoreAnonymizerConstants Processes an XML file, and rewrites it to an outputStream usingDefaultHandler.startElement(String, String, String, Attributes).- Since:
- jcms-10.0.8
- Author:
- Sylvain Devaux
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static StoreAnonymizerManagerMGR- 
Fields inherited from interface com.jalios.jstore.tools.anonymizer.StoreAnonymizerConstantsCLASSNAME_PATTERN, CLOSE_WRAPPER, DATA_CLASSNAME_PATTERN, DB_DATAID_PATTERN, JSTORE_DATAID_PATTERN, OBFUSCATED, OPEN_WRAPPER
 - 
Fields inherited from interface com.jalios.jstore.StoreConstantsARRAY_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 SummaryConstructors Constructor Description DefaultStoreAnonymizerXmlHandler()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearInputStream()protected voidclearOutputStream()java.lang.StringgetInputFilePath()java.io.InputStreamgetInputStream()longgetLineCount()protected static MultiInputStreamgetMultiInputStream(java.lang.String filename)java.lang.StringgetOutputFilePath()java.io.OutputStreamgetOutputStream()protected javax.xml.parsers.SAXParsergetSAXParser()voidsetInputFilePath(java.lang.String inputFilePath)voidsetLineCount(long lineCount)voidsetOutputFilePath(java.lang.String outputFilePath)- 
Methods inherited from class org.xml.sax.helpers.DefaultHandlercharacters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
- 
 
- 
- 
- 
Field Detail- 
MGRprotected static final StoreAnonymizerManager MGR 
 
- 
 - 
Method Detail- 
getInputFilePathpublic java.lang.String getInputFilePath() 
 - 
setInputFilePathpublic void setInputFilePath(java.lang.String inputFilePath) 
 - 
getInputStreampublic java.io.InputStream getInputStream() throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
clearInputStreamprotected void clearInputStream() 
 - 
getMultiInputStreamprotected static MultiInputStream getMultiInputStream(java.lang.String filename) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
getOutputFilePathpublic java.lang.String getOutputFilePath() 
 - 
setOutputFilePathpublic void setOutputFilePath(java.lang.String outputFilePath) 
 - 
getOutputStreampublic java.io.OutputStream getOutputStream() throws StoreAnonymizerException- Throws:
- StoreAnonymizerException
 
 - 
clearOutputStreamprotected void clearOutputStream() throws StoreAnonymizerException- Throws:
- StoreAnonymizerException
 
 - 
getLineCountpublic long getLineCount() 
 - 
setLineCountpublic void setLineCount(long lineCount) 
 - 
getSAXParserprotected javax.xml.parsers.SAXParser getSAXParser() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException- Throws:
- javax.xml.parsers.ParserConfigurationException
- org.xml.sax.SAXException
 
 
- 
 
-