com.softsynth.jmsl.util
Class FunkyBean

java.lang.Object
  extended by com.softsynth.jmsl.util.FunkyBean
All Implemented Interfaces:
HandleSpecialXMLTag

public class FunkyBean
extends java.lang.Object
implements HandleSpecialXMLTag

A bean for testing com.softsynth.jmsl.util.BeanEditor

Author:
Nick Didkovsky, email: didkovn@mail.rockefeller.edu, (c) 2003 Nick Didkovsky, all rights reserved.

Constructor Summary
FunkyBean()
           
 
Method Summary
 char getChVal()
           
 int getIntVal()
           
 boolean handleSpecialTag(java.lang.String tag, java.util.Hashtable attributes)
           
 void setChVal(char c)
           
 void setIntVal(int v)
           
 java.lang.String toString()
           
 void writeSpecialXMLTags(java.io.PrintWriter out)
          Write special tags out that do not conform to get/set bean model.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunkyBean

public FunkyBean()
Method Detail

setIntVal

public void setIntVal(int v)

getIntVal

public int getIntVal()

setChVal

public void setChVal(char c)

getChVal

public char getChVal()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

handleSpecialTag

public boolean handleSpecialTag(java.lang.String tag,
                                java.util.Hashtable attributes)
Specified by:
handleSpecialTag in interface HandleSpecialXMLTag
Returns:
true if this tag is recognized as special, false if the object permits normal bean model to handle attribute/value pairs

writeSpecialXMLTags

public void writeSpecialXMLTags(java.io.PrintWriter out)
Description copied from interface: HandleSpecialXMLTag
Write special tags out that do not conform to get/set bean model. Called by SimpleXMLSaver.writeXML() for objects that implement this interface

Specified by:
writeSpecialXMLTags in interface HandleSpecialXMLTag