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, xmlDeclpublic static final String NOTIFY_CHAR_REFS
public static final String NOTIFY_HTML_BUILTIN_REFS
public HTMLPrinter(OutputStream outputStream, String encoding) throws UnsupportedEncodingException
outputStream - encoding - UnsupportedEncodingExceptionpublic 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.XMLDocumentHandlerstartDocument in class org.cyberneko.html.filters.DefaultFilterlocator - encoding - nscontext - augs - org.apache.xerces.xni.XNIExceptionpublic 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.DefaultFilterlocator - encoding - augs - org.apache.xerces.xni.XNIExceptionpublic 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.XMLDocumentHandlercomment in class org.cyberneko.html.filters.DefaultFiltertext - augs - org.apache.xerces.xni.XNIExceptionpublic 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.XMLDocumentHandlerstartElement in class org.cyberneko.html.filters.DefaultFilterelement - attributes - augs - org.apache.xerces.xni.XNIExceptionpublic 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.XMLDocumentHandleremptyElement in class org.cyberneko.html.filters.DefaultFilterelement - attributes - augs - org.apache.xerces.xni.XNIExceptionpublic 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.XMLDocumentHandlercharacters in class org.cyberneko.html.filters.DefaultFiltertext - augs - org.apache.xerces.xni.XNIExceptionpublic 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.XMLDocumentHandlerendElement in class org.cyberneko.html.filters.DefaultFilterelement - augs - org.apache.xerces.xni.XNIExceptionpublic 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.XMLDocumentHandlerstartGeneralEntity in class org.cyberneko.html.filters.DefaultFiltername - id - encoding - augs - org.apache.xerces.xni.XNIExceptionpublic void endGeneralEntity(String name, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
endGeneralEntity in interface org.apache.xerces.xni.XMLDocumentHandlerendGeneralEntity in class org.cyberneko.html.filters.DefaultFiltername - augs - org.apache.xerces.xni.XNIExceptionCopyright © 2016 Egothor. All Rights Reserved.