Class XmlEntity
java.lang.Object
org.gvsig.andami.persistence.generate.XmlEntity
- All Implemented Interfaces:
Serializable
Class XmlEntity.
- Version:
- $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(int index, Property vProperty) Method addPropertyvoidaddProperty(Property vProperty) Method addPropertyMethod enumeratePropertyProperty[]Method getPropertygetProperty(int index) Method getPropertyintMethod getPropertyCountbooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidMethod removeAllPropertyremoveProperty(int index) Method removePropertyvoidsetProperty(int index, Property vProperty) Method setPropertyvoidsetProperty(Property[] propertyArray) Method setPropertystatic ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
XmlEntity
public XmlEntity()
-
-
Method Details
-
addProperty
Method addProperty- Parameters:
vProperty-- Throws:
IndexOutOfBoundsException
-
addProperty
Method addProperty- Parameters:
index-vProperty-- Throws:
IndexOutOfBoundsException
-
enumerateProperty
Method enumerateProperty -
getProperty
Method getProperty- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getProperty
Method getProperty -
getPropertyCount
public int getPropertyCount()Method getPropertyCount -
isValid
public boolean isValid()Method isValid -
marshal
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
out-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
marshal
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
handler-- Throws:
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
removeAllProperty
public void removeAllProperty()Method removeAllProperty -
removeProperty
Method removeProperty- Parameters:
index-
-
setProperty
Method setProperty- Parameters:
index-vProperty-- Throws:
IndexOutOfBoundsException
-
setProperty
Method setProperty- Parameters:
propertyArray-
-
unmarshal
public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method unmarshal- Parameters:
reader-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
validate
public void validate() throws org.exolab.castor.xml.ValidationExceptionMethod validate- Throws:
org.exolab.castor.xml.ValidationException
-