net.sf.json.util
Class JSONDynaClass
java.lang.Object
net.sf.json.util.JSONDynaClass
- All Implemented Interfaces:
- java.io.Serializable, org.apache.commons.beanutils.DynaClass
public class JSONDynaClass
- extends java.lang.Object
- implements org.apache.commons.beanutils.DynaClass, java.io.Serializable
- Author:
- Andres Almiray
- See Also:
- Serialized Form
|
Constructor Summary |
JSONDynaClass(java.lang.String name,
java.lang.Class type,
java.util.Map attributes)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
attributes
protected java.util.Map attributes
dynaProperties
protected org.apache.commons.beanutils.DynaProperty[] dynaProperties
jsonBeanClass
protected transient java.lang.Class jsonBeanClass
name
protected java.lang.String name
properties
protected java.util.Map properties
type
protected java.lang.Class type
JSONDynaClass
public JSONDynaClass(java.lang.String name,
java.lang.Class type,
java.util.Map attributes)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getDynaProperties
public org.apache.commons.beanutils.DynaProperty[] getDynaProperties()
- Specified by:
getDynaProperties in interface org.apache.commons.beanutils.DynaClass
getDynaProperty
public org.apache.commons.beanutils.DynaProperty getDynaProperty(java.lang.String propertyName)
- Specified by:
getDynaProperty in interface org.apache.commons.beanutils.DynaClass
getName
public java.lang.String getName()
- Specified by:
getName in interface org.apache.commons.beanutils.DynaClass
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
newInstance
public org.apache.commons.beanutils.DynaBean newInstance()
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
- Specified by:
newInstance in interface org.apache.commons.beanutils.DynaClass
- Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getJsonBeanClass
protected java.lang.Class getJsonBeanClass()
Copyright © 2006 null. All Rights Reserved.