public class XmlEntity
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
XmlEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(int index,
Property vProperty)
Method addProperty
|
void |
addProperty(Property vProperty)
Method addProperty
|
java.util.Enumeration |
enumerateProperty()
Method enumerateProperty
|
Property[] |
getProperty()
Method getProperty
|
Property |
getProperty(int index)
Method getProperty
|
int |
getPropertyCount()
Method getPropertyCount
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
removeAllProperty()
Method removeAllProperty
|
Property |
removeProperty(int index)
Method removeProperty
|
void |
setProperty(int index,
Property vProperty)
Method setProperty
|
void |
setProperty(Property[] propertyArray)
Method setProperty
|
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addProperty(Property vProperty) throws java.lang.IndexOutOfBoundsException
vProperty - java.lang.IndexOutOfBoundsExceptionpublic void addProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty - java.lang.IndexOutOfBoundsExceptionpublic java.util.Enumeration enumerateProperty()
public Property getProperty(int index) throws java.lang.IndexOutOfBoundsException
index - java.lang.IndexOutOfBoundsExceptionpublic Property[] getProperty()
public int getPropertyCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler - java.io.IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void removeAllProperty()
public Property removeProperty(int index)
index - public void setProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty - java.lang.IndexOutOfBoundsExceptionpublic void setProperty(Property[] propertyArray)
propertyArray - public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException