|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberneko.html.filters.DefaultFilter
org.cyberneko.html.filters.Writer
com.silverpeas.mailinglist.service.util.neko.EntityReplaceWriter
public class EntityReplaceWriter
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 | |
---|---|
EntityReplaceWriter()
Constructs a writer filter that prints to standard out. |
|
EntityReplaceWriter(OutputStream outputStream,
String encoding)
Constructs a writer filter using the specified output stream and encoding. |
|
EntityReplaceWriter(Writer writer,
String encoding)
Constructs a writer filter using the specified Java writer and encoding. |
Method Summary | |
---|---|
protected void |
printEntity(String name)
|
void |
setWriter(Writer writer)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityReplaceWriter()
public EntityReplaceWriter(OutputStream outputStream, String encoding) throws UnsupportedEncodingException
outputStream
- The output stream to write to.encoding
- The encoding to be used for the output. The encoding name should be an official
IANA encoding name.
UnsupportedEncodingException
public EntityReplaceWriter(Writer writer, String encoding)
writer
- The Java writer to write to.encoding
- The encoding to be used for the output. The encoding name should be an official
IANA encoding name.Method Detail |
---|
protected void printEntity(String name)
printEntity
in class org.cyberneko.html.filters.Writer
public void setWriter(Writer writer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |