public class HTMLPrinter
extends org.cyberneko.html.filters.DefaultFilter
Modifier and Type | Field and Description |
---|---|
static String |
NOTIFY_CHAR_REFS |
static String |
NOTIFY_HTML_BUILTIN_REFS |
Constructor and Description |
---|
HTMLPrinter(OutputStream outputStream,
String encoding) |
HTMLPrinter(Writer writer,
String encoding,
boolean strictScript) |
Modifier and Type | Method and Description |
---|---|
void |
characters(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
void |
endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.Augmentations augs) |
void |
endGeneralEntity(String name,
org.apache.xerces.xni.Augmentations augs) |
static void |
filter(String systemId,
byte[] file,
int file_len,
PrintStream ps,
String inpEnc,
String outEnc) |
void |
startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.Augmentations augs) |
void |
startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.NamespaceContext nscontext,
org.apache.xerces.xni.Augmentations augs) |
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
void |
startGeneralEntity(String name,
org.apache.xerces.xni.XMLResourceIdentifier id,
String encoding,
org.apache.xerces.xni.Augmentations augs) |
doctypeDecl, endCDATA, endDocument, endPrefixMapping, getDocumentHandler, getDocumentSource, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, ignorableWhitespace, processingInstruction, reset, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startPrefixMapping, textDecl, xmlDecl
public static final String NOTIFY_CHAR_REFS
public static final String NOTIFY_HTML_BUILTIN_REFS
public HTMLPrinter(OutputStream outputStream, String encoding) throws UnsupportedEncodingException
outputStream
- encoding
- UnsupportedEncodingException
public void startDocument(org.apache.xerces.xni.XMLLocator locator, String encoding, org.apache.xerces.xni.NamespaceContext nscontext, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startDocument
in interface org.apache.xerces.xni.XMLDocumentHandler
startDocument
in class org.cyberneko.html.filters.DefaultFilter
locator
- encoding
- nscontext
- augs
- org.apache.xerces.xni.XNIException
public void startDocument(org.apache.xerces.xni.XMLLocator locator, String encoding, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startDocument
in class org.cyberneko.html.filters.DefaultFilter
locator
- encoding
- augs
- org.apache.xerces.xni.XNIException
public void comment(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
comment
in interface org.apache.xerces.xni.XMLDocumentHandler
comment
in class org.cyberneko.html.filters.DefaultFilter
text
- augs
- org.apache.xerces.xni.XNIException
public void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startElement
in interface org.apache.xerces.xni.XMLDocumentHandler
startElement
in class org.cyberneko.html.filters.DefaultFilter
element
- attributes
- augs
- org.apache.xerces.xni.XNIException
public void emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
emptyElement
in interface org.apache.xerces.xni.XMLDocumentHandler
emptyElement
in class org.cyberneko.html.filters.DefaultFilter
element
- attributes
- augs
- org.apache.xerces.xni.XNIException
public void characters(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
characters
in interface org.apache.xerces.xni.XMLDocumentHandler
characters
in class org.cyberneko.html.filters.DefaultFilter
text
- augs
- org.apache.xerces.xni.XNIException
public void endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endElement
in interface org.apache.xerces.xni.XMLDocumentHandler
endElement
in class org.cyberneko.html.filters.DefaultFilter
element
- augs
- org.apache.xerces.xni.XNIException
public void startGeneralEntity(String name, org.apache.xerces.xni.XMLResourceIdentifier id, String encoding, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
startGeneralEntity
in interface org.apache.xerces.xni.XMLDocumentHandler
startGeneralEntity
in class org.cyberneko.html.filters.DefaultFilter
name
- id
- encoding
- augs
- org.apache.xerces.xni.XNIException
public void endGeneralEntity(String name, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endGeneralEntity
in interface org.apache.xerces.xni.XMLDocumentHandler
endGeneralEntity
in class org.cyberneko.html.filters.DefaultFilter
name
- augs
- org.apache.xerces.xni.XNIException
Copyright © 2016 Egothor. All Rights Reserved.