Package org.iqtig.xpacker.impl.sax
Class ElementRecorder
- java.lang.Object
-
- org.iqtig.xpacker.impl.sax.ElementRecorder
-
public class ElementRecorder extends Object
-
-
Constructor Summary
Constructors Constructor Description ElementRecorder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeOutputFile()
static String
domToString(Document document)
Sonar SuppressWarnings siehe: org.iqtig.xpacker.impl.XPacker#xmlOut(org.w3c.dom.Document, java.io.OutputStream)static String[]
getElementsToRecord()
static void
setElementsToRecord(String[] newElementsToRecord)
static void
setHandler(SaxHandler newHandler)
static void
setOutputFile(File outputFile)
static void
startRecording()
static void
stopRecording(String elementName)
static Document
stringToDom(String docString)
Sonar SuppressWarnings siehe: org.iqtig.xpacker.impl.XPacker#xmlOut(org.w3c.dom.Document, java.io.OutputStream)static void
writeToFile(char ch)
static void
writeToFile(String text)
-
-
-
Method Detail
-
setOutputFile
public static void setOutputFile(File outputFile)
-
setHandler
public static void setHandler(SaxHandler newHandler)
-
setElementsToRecord
public static void setElementsToRecord(String[] newElementsToRecord)
-
getElementsToRecord
public static String[] getElementsToRecord()
-
closeOutputFile
public static void closeOutputFile()
-
writeToFile
public static void writeToFile(String text)
-
writeToFile
public static void writeToFile(char ch)
-
startRecording
public static void startRecording()
-
stopRecording
public static void stopRecording(String elementName)
-
stringToDom
public static Document stringToDom(String docString)
Sonar SuppressWarnings siehe: org.iqtig.xpacker.impl.XPacker#xmlOut(org.w3c.dom.Document, java.io.OutputStream)
-
-