org.polliwog.replacements
Class ObjectReplacement

java.lang.Object
  extended by org.polliwog.replacements.AbstractReplacement
      extended by org.polliwog.replacements.ObjectReplacement
All Implemented Interfaces:
Replacement

public class ObjectReplacement
extends AbstractReplacement


Nested Class Summary
 class ObjectReplacement.XMLConstants
           
 
Field Summary
 
Fields inherited from class org.polliwog.replacements.AbstractReplacement
DEFAULT_TYPE, params
 
Constructor Summary
ObjectReplacement()
           
 
Method Summary
 java.lang.String getValue(java.lang.Object o, VisitorEnvironment ve)
           
 void init(org.jdom.Element root, java.lang.Class cl)
           
 
Methods inherited from class org.polliwog.replacements.AbstractReplacement
format, getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectReplacement

public ObjectReplacement()
Method Detail

init

public void init(org.jdom.Element root,
                 java.lang.Class cl)
          throws org.jdom.JDOMException,
                 WeblogException
Specified by:
init in interface Replacement
Overrides:
init in class AbstractReplacement
Throws:
org.jdom.JDOMException
WeblogException

getValue

public java.lang.String getValue(java.lang.Object o,
                                 VisitorEnvironment ve)
                          throws WeblogException
Specified by:
getValue in interface Replacement
Specified by:
getValue in class AbstractReplacement
Throws:
WeblogException


  Copyright © 2007 Gary Bentley. All Rights Reserved.