org.hoglet.handlers.core
Class XMLHandler

java.lang.Object
  extended by org.jdom.output.XMLOutputter
      extended by org.hoglet.handlers.core.XMLHandler
All Implemented Interfaces:
Cloneable, JDOMInitable, TagHandler

public class XMLHandler
extends org.jdom.output.XMLOutputter
implements TagHandler, JDOMInitable


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdom.output.XMLOutputter
org.jdom.output.XMLOutputter.NamespaceStack
 
Field Summary
 
Fields inherited from class org.jdom.output.XMLOutputter
currentFormat, preserveFormat
 
Constructor Summary
XMLHandler()
           
 
Method Summary
 String convert(Tag tag, String tagContent)
           
 void init(org.jdom.Element root)
           
 boolean isAutoExpandContent()
           
 void printElement(Writer out, org.jdom.Element el, int level, org.jdom.output.XMLOutputter.NamespaceStack ns)
           
 
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, setFormat, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLHandler

public XMLHandler()
Method Detail

printElement

public void printElement(Writer out,
                         org.jdom.Element el,
                         int level,
                         org.jdom.output.XMLOutputter.NamespaceStack ns)
                  throws IOException
Overrides:
printElement in class org.jdom.output.XMLOutputter
Throws:
IOException

init

public void init(org.jdom.Element root)
          throws org.jdom.JDOMException,
                 HogletException
Specified by:
init in interface JDOMInitable
Throws:
org.jdom.JDOMException
HogletException

convert

public String convert(Tag tag,
                      String tagContent)
               throws HogletException
Specified by:
convert in interface TagHandler
Throws:
HogletException

isAutoExpandContent

public boolean isAutoExpandContent()
Specified by:
isAutoExpandContent in interface TagHandler


  Copyright © 2006 Gary Bentley. All Rights Reserved.