Package au.com.acegi.xmlformat
Class BlankLinesWriter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.dom4j.io.XMLWriter
-
- au.com.acegi.xmlformat.BlankLinesWriter
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler,org.xml.sax.ext.LexicalHandler,org.xml.sax.XMLFilter,org.xml.sax.XMLReader
class BlankLinesWriter extends org.dom4j.io.XMLWriterSubclass ofXMLWriterthat preserves blank lines in outupt (at most one of them, among two subsequent tags).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classBlankLinesWriter.NewLinesHandler
-
Constructor Summary
Constructors Constructor Description BlankLinesWriter(java.io.OutputStream out, XmlOutputFormat fmt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwriteString(java.lang.String text)-
Methods inherited from class org.dom4j.io.XMLWriter
characters, close, comment, createWriter, defaultMaximumAllowedCharacter, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, escapeAttributeEntities, escapeElementEntities, flush, getLexicalHandler, getMaximumAllowedCharacter, getOutputFormat, getProperty, handleException, ignorableWhitespace, indent, installLexicalHandler, isElementSpacePreserved, isEscapeText, isExpandEmptyElements, isNamespaceDeclaration, notationDecl, parse, println, processingInstruction, resolveEntityRefs, setDocumentLocator, setEscapeText, setIndentLevel, setLexicalHandler, setMaximumAllowedCharacter, setOutputStream, setProperty, setResolveEntityRefs, setWriter, shouldEncodeChar, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, unparsedEntityDecl, write, write, write, write, write, write, write, write, write, write, write, write, write, writeAttribute, writeAttribute, writeAttribute, writeAttributes, writeAttributes, writeCDATA, writeClose, writeClose, writeComment, writeDeclaration, writeDocType, writeDocType, writeElement, writeElementContent, writeEmptyElementClose, writeEntity, writeEntityRef, writeEscapeAttributeEntities, writeNamespace, writeNamespace, writeNamespaces, writeNamespaces, writeNode, writeNodeText, writeOpen, writePrintln, writeProcessingInstruction
-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, parse, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, warning
-
-
-
-
Constructor Detail
-
BlankLinesWriter
BlankLinesWriter(java.io.OutputStream out, XmlOutputFormat fmt) throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
-