public class XmlEntity extends Object implements Serializable
Type | Property and Description |
---|---|
Enumeration |
enumerate
Method enumerateProperty
|
Constructor and Description |
---|
XmlEntity() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(int index,
Property vProperty)
Method addProperty
|
void |
addProperty(Property vProperty)
Method addProperty
|
Enumeration |
enumerateProperty()
Method enumerateProperty
|
Property[] |
getProperty()
Method getProperty
|
Property |
getProperty(int index)
Method getProperty
|
int |
getPropertyCount()
Method getPropertyCount
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(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 Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addProperty(Property vProperty) throws IndexOutOfBoundsException
vProperty
- IndexOutOfBoundsException
public void addProperty(int index, Property vProperty) throws IndexOutOfBoundsException
index
- vProperty
- IndexOutOfBoundsException
public Enumeration enumerateProperty()
public Property getProperty(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public Property[] getProperty()
public int getPropertyCount()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void removeAllProperty()
public Property removeProperty(int index)
index
- public void setProperty(int index, Property vProperty) throws IndexOutOfBoundsException
index
- vProperty
- IndexOutOfBoundsException
public void setProperty(Property[] propertyArray)
propertyArray
- public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException