Package org.exoplatform.xml.object
Class XMLObject
java.lang.Object
org.exoplatform.xml.object.XMLObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprotected static org.jibx.runtime.IBindingFactorygetBindingFactoryInPriviledgedMode(Class<?> clazz) getFieldValue(String fieldName) static ObjectgetObject(InputStream is) getType()static XMLObjectvoidremoveField(String name) voidrenameField(String oldName, String newName) voidsetFields(Collection<XMLField> fields) voidvoidbyte[]byte[]toByteArray(String encoding) toObject()toString()toXML()
-
Field Details
-
CURRENT_VERSION
-
-
Constructor Details
-
XMLObject
public XMLObject() -
XMLObject
- Throws:
Exception
-
-
Method Details
-
getType
-
setType
-
getField
-
addField
-
addField
-
getFieldIterator
-
getFields
-
setFields
-
setFields
-
getFieldValue
- Throws:
Exception
-
renameField
-
removeField
-
addField
- Throws:
Exception
-
toString
-
toObject
- Throws:
Exception
-
toXML
- Throws:
Exception
-
toXML
- Throws:
Exception
-
toByteArray
- Throws:
Exception
-
toByteArray
- Throws:
Exception
-
getXMLObject
- Throws:
Exception
-
getObject
- Throws:
Exception
-
getBindingFactoryInPriviledgedMode
protected static org.jibx.runtime.IBindingFactory getBindingFactoryInPriviledgedMode(Class<?> clazz) throws org.jibx.runtime.JiBXException - Throws:
org.jibx.runtime.JiBXException
-