public class XmlCastor extends Object implements 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
|
Enumeration |
enumerateXmlTag()
Method enumerateXmlTag
|
XmlTag[] |
getXmlTag()
Method getXmlTag
|
XmlTag |
getXmlTag(int index)
Method getXmlTag
|
int |
getXmlTagCount()
Method getXmlTagCount
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(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 Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addXmlTag(XmlTag vXmlTag) throws IndexOutOfBoundsException
vXmlTag
- IndexOutOfBoundsException
public void addXmlTag(int index, XmlTag vXmlTag) throws IndexOutOfBoundsException
index
- vXmlTag
- IndexOutOfBoundsException
public Enumeration enumerateXmlTag()
public XmlTag getXmlTag(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public XmlTag[] getXmlTag()
public int getXmlTagCount()
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 removeAllXmlTag()
public XmlTag removeXmlTag(int index)
index
- public void setXmlTag(int index, XmlTag vXmlTag) throws IndexOutOfBoundsException
index
- vXmlTag
- IndexOutOfBoundsException
public void setXmlTag(XmlTag[] xmlTagArray)
xmlTagArray
- 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