org.hoglet.handlers.core
Class CodeHandler

java.lang.Object
  extended by org.hoglet.handlers.core.CodeHandler
All Implemented Interfaces:
JDOMInitable, TagHandler

public class CodeHandler
extends Object
implements TagHandler, JDOMInitable


Field Summary
static int DEFAULT_TAB_SIZE
           
 
Constructor Summary
CodeHandler()
           
 
Method Summary
 String convert(Tag tag, String content)
           
 void init(org.jdom.Element root)
           
 boolean isAutoExpandContent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TAB_SIZE

public static final int DEFAULT_TAB_SIZE
See Also:
Constant Field Values
Constructor Detail

CodeHandler

public CodeHandler()
Method Detail

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 content)
               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.