public class XmlCastor
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
XmlCastor() |
Modifier and Type | Method and Description |
---|---|
void |
addXmlTag(int index,
XmlTag vXmlTag)
Method addXmlTag
|
void |
addXmlTag(XmlTag vXmlTag)
Method addXmlTag
|
java.util.Enumeration |
enumerateXmlTag()
Method enumerateXmlTag
|
XmlTag[] |
getXmlTag()
Method getXmlTag
|
XmlTag |
getXmlTag(int index)
Method getXmlTag
|
int |
getXmlTagCount()
Method getXmlTagCount
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
removeAllXmlTag()
Method removeAllXmlTag
|
XmlTag |
removeXmlTag(int index)
Method removeXmlTag
|
void |
setXmlTag(int index,
XmlTag vXmlTag)
Method setXmlTag
|
void |
setXmlTag(XmlTag[] xmlTagArray)
Method setXmlTag
|
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addXmlTag(XmlTag vXmlTag) throws java.lang.IndexOutOfBoundsException
vXmlTag
- java.lang.IndexOutOfBoundsException
public void addXmlTag(int index, XmlTag vXmlTag) throws java.lang.IndexOutOfBoundsException
index
- vXmlTag
- java.lang.IndexOutOfBoundsException
public java.util.Enumeration enumerateXmlTag()
public XmlTag getXmlTag(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
public XmlTag[] getXmlTag()
public int getXmlTagCount()
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.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void removeAllXmlTag()
public XmlTag removeXmlTag(int index)
index
- public void setXmlTag(int index, XmlTag vXmlTag) throws java.lang.IndexOutOfBoundsException
index
- vXmlTag
- java.lang.IndexOutOfBoundsException
public void setXmlTag(XmlTag[] xmlTagArray)
xmlTagArray
- 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.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException