Class HtmlWriter
java.lang.Object
org.cyberneko.html.filters.DefaultFilter
org.cyberneko.html.filters.Writer
com.echothree.util.common.cyberneko.HtmlWriter
- All Implemented Interfaces:
org.apache.xerces.xni.parser.XMLComponent
,org.apache.xerces.xni.parser.XMLDocumentFilter
,org.apache.xerces.xni.parser.XMLDocumentSource
,org.apache.xerces.xni.XMLDocumentHandler
,org.cyberneko.html.HTMLComponent
-
Field Summary
Fields inherited from class org.cyberneko.html.filters.Writer
AUGMENTATIONS, fElementDepth, fEncoding, FILTERS, fNormalize, fPrintChars, fPrinter, fSeenHttpEquiv, fSeenRootElement, NOTIFY_CHAR_REFS, NOTIFY_HTML_BUILTIN_REFS
Fields inherited from class org.cyberneko.html.filters.DefaultFilter
fDocumentHandler, fDocumentSource
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of HtmlWriterHtmlWriter
(OutputStream outputStream, String encoding) Creates a new instance of HtmlWriterHtmlWriter
(Writer writer, String encoding) Creates a new instance of HtmlWriter -
Method Summary
Methods inherited from class org.cyberneko.html.filters.Writer
characters, comment, emptyElement, endElement, endGeneralEntity, main, printAttributeValue, printCharacters, printEndElement, printStartElement, startDocument, startDocument, startElement, startGeneralEntity
Methods inherited from class org.cyberneko.html.filters.DefaultFilter
doctypeDecl, endCDATA, endDocument, endPrefixMapping, getDocumentHandler, getDocumentSource, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, ignorableWhitespace, merge, processingInstruction, reset, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startPrefixMapping, textDecl, xmlDecl
-
Constructor Details
-
HtmlWriter
public HtmlWriter()Creates a new instance of HtmlWriter -
HtmlWriter
Creates a new instance of HtmlWriter- Throws:
UnsupportedEncodingException
-
HtmlWriter
Creates a new instance of HtmlWriter
-
-
Method Details
-
printEntity
Print entity.- Overrides:
printEntity
in classorg.cyberneko.html.filters.Writer
-