com.irisel.util
Class BaseBean
java.lang.Object
com.irisel.util.BaseBean
- All Implemented Interfaces:
- XMLBean, java.io.Serializable
public class BaseBean
- extends java.lang.Object
- implements XMLBean
- See Also:
- Serialized Form
Fields inherited from interface com.irisel.util.XMLBean |
CSV |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseBean
public BaseBean()
toXML
public final java.lang.String toXML()
- Specified by:
toXML
in interface XMLBean
toByteArray
public byte[] toByteArray()
toBean
public XMLBean toBean(java.lang.String xml)
- Specified by:
toBean
in interface XMLBean
encode64
public final java.lang.String encode64()
- Specified by:
encode64
in interface XMLBean
encode64bin
public final byte[] encode64bin()
decode64
public final XMLBean decode64(java.lang.String encodedObject)
- Specified by:
decode64
in interface XMLBean
decode64bin
public final XMLBean decode64bin(byte[] encodedObject)
readObject64
public static final XMLBean readObject64(java.lang.String encodedObject)
readObject
public static final XMLBean readObject(java.lang.String xml)
xmlSerialize
public void xmlSerialize(java.io.OutputStream os)
- Specified by:
xmlSerialize
in interface XMLBean
export2csv
public void export2csv(java.io.Writer w)
throws java.io.IOException
- Specified by:
export2csv
in interface XMLBean
- Throws:
java.io.IOException
toJSONObject
public JSONObject toJSONObject()
toJSON
public java.lang.String toJSON()