org.exoplatform.xml.object
Class XMLBaseObject
java.lang.Object
org.exoplatform.xml.object.XMLBaseObject
- Direct Known Subclasses:
- XMLField, XMLKey, XMLValue
public class XMLBaseObject
- extends Object
- Since:
- Apr 10, 2005
- Version:
- $Id: XMLBaseObject.java 5799 2006-05-28 17:55:42Z geaz $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRING
public static final String STRING
- See Also:
- Constant Field Values
INT
public static final String INT
- See Also:
- Constant Field Values
LONG
public static final String LONG
- See Also:
- Constant Field Values
BOOLEAN
public static final String BOOLEAN
- See Also:
- Constant Field Values
FLOAT
public static final String FLOAT
- See Also:
- Constant Field Values
DOUBLE
public static final String DOUBLE
- See Also:
- Constant Field Values
DATE
public static final String DATE
- See Also:
- Constant Field Values
MAP
public static final String MAP
- See Also:
- Constant Field Values
COLLECTION
public static final String COLLECTION
- See Also:
- Constant Field Values
ARRAY
public static final String ARRAY
- See Also:
- Constant Field Values
NATIVE_ARRAY
public static final String NATIVE_ARRAY
- See Also:
- Constant Field Values
OBJECT
public static final String OBJECT
- See Also:
- Constant Field Values
type
protected String type
value
protected Object value
XMLBaseObject
public XMLBaseObject()
XMLBaseObject
public XMLBaseObject(Class objecttype,
Object val)
throws Exception
- Throws:
Exception
getType
public String getType()
setType
public void setType(String s)
setType
public void setType(Class clazz)
getValue
public Object getValue()
setValue
public void setValue(Object v)
getObjectValue
public Object getObjectValue()
throws Exception
- Throws:
Exception
setObjectValue
public void setObjectValue(Object o)
throws Exception
- Throws:
Exception
getObject
public XMLObject getObject()
setObject
public void setObject(XMLObject o)
getString
public String getString()
setString
public void setString(String s)
getInt
public Integer getInt()
setInt
public void setInt(Integer i)
getLong
public Long getLong()
setLong
public void setLong(Long l)
getFloat
public Float getFloat()
setFloat
public void setFloat(Float f)
getDouble
public Double getDouble()
setDouble
public void setDouble(Double d)
getBoolean
public Boolean getBoolean()
setBoolean
public void setBoolean(Boolean b)
getDate
public Date getDate()
setDate
public void setDate(Date date)
getMap
public XMLMap getMap()
setMapValue
public void setMapValue(Map map)
throws Exception
- Throws:
Exception
setMap
public void setMap(XMLMap map)
getCollection
public XMLCollection getCollection()
setCollectiontValue
public void setCollectiontValue(Collection collection)
throws Exception
- Throws:
Exception
setCollection
public void setCollection(XMLCollection collection)
getNativeArray
public XMLNativeArray getNativeArray()
setNativeArrayValue
public void setNativeArrayValue(Object array)
throws Exception
- Throws:
Exception
setNativeArray
public void setNativeArray(XMLNativeArray array)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.