Class XWikiXMLWriter

    • Field Summary

      • Fields inherited from class org.dom4j.io.XMLWriter

        DEFAULT_FORMAT, lastOutputNodeType, LEXICAL_HANDLER_NAMES, preserve, writer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setVersion​(String xmlVersion)  
      protected void writeComment​(String text)  
      protected void writeDeclaration()  
      protected void writeNodeText​(org.dom4j.Node node)  
      protected void writePrintln()  
      • 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, writeAttributes, writeAttributes, writeCDATA, writeClose, writeClose, writeDocType, writeDocType, writeElement, writeElementContent, writeEmptyElementClose, writeEntity, writeEntityRef, writeEscapeAttributeEntities, writeNamespace, writeNamespace, writeNamespaces, writeNamespaces, writeNode, writeOpen, writeProcessingInstruction, writeString
    • Method Detail

      • setVersion

        public void setVersion​(String xmlVersion)
        Parameters:
        xmlVersion - the XML version to set in the declaration
        Since:
        9.11.1, 10.0
      • writeComment

        protected void writeComment​(String text)
                             throws IOException
        Overrides:
        writeComment in class org.dom4j.io.XMLWriter
        Throws:
        IOException
      • writeNodeText

        protected void writeNodeText​(org.dom4j.Node node)
                              throws IOException
        Overrides:
        writeNodeText in class org.dom4j.io.XMLWriter
        Throws:
        IOException
      • writePrintln

        protected void writePrintln()
                             throws IOException
        Overrides:
        writePrintln in class org.dom4j.io.XMLWriter
        Throws:
        IOException
      • writeDeclaration

        protected void writeDeclaration()
                                 throws IOException
        Overrides:
        writeDeclaration in class org.dom4j.io.XMLWriter
        Throws:
        IOException