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 voidcloseOutputFile()static StringdomToString(Document document)Sonar SuppressWarnings siehe: org.iqtig.xpacker.impl.XPacker#xmlOut(org.w3c.dom.Document, java.io.OutputStream)static String[]getElementsToRecord()static voidsetElementsToRecord(String[] newElementsToRecord)static voidsetHandler(SaxHandler newHandler)static voidsetOutputFile(File outputFile)static voidstartRecording()static voidstopRecording(String elementName)static DocumentstringToDom(String docString)Sonar SuppressWarnings siehe: org.iqtig.xpacker.impl.XPacker#xmlOut(org.w3c.dom.Document, java.io.OutputStream)static voidwriteToFile(char ch)static voidwriteToFile(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)
-
-