org.kathrynhuxtable.maven.plugins.htmlfiltersite
Class HTMLOutputter

java.lang.Object
  extended by org.jdom.output.XMLOutputter
      extended by org.kathrynhuxtable.maven.plugins.htmlfiltersite.HTMLOutputter
All Implemented Interfaces:
Cloneable

public class HTMLOutputter
extends org.jdom.output.XMLOutputter

Author:
Kathryn Huxtable

Nested Class Summary
 class HTMLOutputter.HTMLEscapeStrategy
           
 
Nested classes/interfaces inherited from class org.jdom.output.XMLOutputter
org.jdom.output.XMLOutputter.NamespaceStack
 
Field Summary
protected  org.jdom.output.EscapeStrategy htmlEscapeStrategy
           
protected  org.jdom.output.Format nonBreakingFormat
           
 
Fields inherited from class org.jdom.output.XMLOutputter
currentFormat, preserveFormat
 
Constructor Summary
HTMLOutputter()
           
HTMLOutputter(org.jdom.output.Format format)
          This will create an XMLOutputter with the specified format characteristics.
 
Method Summary
protected  void printElement(Writer out, org.jdom.Element element, int level, org.jdom.output.XMLOutputter.NamespaceStack namespaces)
          This will handle printing of a Element, its Attributes, and all contained (child) elements, etc.
 void setFormat(org.jdom.output.Format newFormat)
          
 
Methods inherited from class org.jdom.output.XMLOutputter
clone, escapeAttributeEntities, escapeElementEntities, getFormat, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, outputElementContent, outputElementContent, outputString, outputString, outputString, outputString, outputString, outputString, outputString, outputString, outputString, printAttributes, printCDATA, printComment, printDeclaration, printDocType, printEntityRef, printProcessingInstruction, printText, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nonBreakingFormat

protected org.jdom.output.Format nonBreakingFormat

htmlEscapeStrategy

protected org.jdom.output.EscapeStrategy htmlEscapeStrategy
Constructor Detail

HTMLOutputter

public HTMLOutputter()

HTMLOutputter

public HTMLOutputter(org.jdom.output.Format format)
This will create an XMLOutputter with the specified format characteristics. Note the format object is cloned internally before use.

Method Detail

setFormat

public void setFormat(org.jdom.output.Format newFormat)

Overrides:
setFormat in class org.jdom.output.XMLOutputter

printElement

protected void printElement(Writer out,
                            org.jdom.Element element,
                            int level,
                            org.jdom.output.XMLOutputter.NamespaceStack namespaces)
                     throws IOException
This will handle printing of a Element, its Attributes, and all contained (child) elements, etc.

Overrides:
printElement in class org.jdom.output.XMLOutputter
Parameters:
element - Element to output.
out - Writer to use.
level - int level of indention.
namespaces - List stack of Namespaces in scope.
Throws:
IOException


Copyright © 2010 kathrynhuxtable.org. All Rights Reserved.