public class XmlTag
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
XmlTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(int index,
Property vProperty)
Method addProperty
|
void |
addProperty(Property vProperty)
Method addProperty
|
void |
addXmlTag(int index,
XmlTag vXmlTag)
Method addXmlTag
|
void |
addXmlTag(XmlTag vXmlTag)
Method addXmlTag
|
java.util.Enumeration |
enumerateProperty()
Method enumerateProperty
|
java.util.Enumeration |
enumerateXmlTag()
Method enumerateXmlTag
|
java.lang.String |
getName()
Returns the value of field 'name'.
|
Property[] |
getProperty()
Method getProperty
|
Property |
getProperty(int index)
Method getProperty
|
int |
getPropertyCount()
Method getPropertyCount
|
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 |
removeAllProperty()
Method removeAllProperty
|
void |
removeAllXmlTag()
Method removeAllXmlTag
|
Property |
removeProperty(int index)
Method removeProperty
|
XmlTag |
removeXmlTag(int index)
Method removeXmlTag
|
void |
setName(java.lang.String name)
Sets the value of field 'name'.
|
void |
setProperty(int index,
Property vProperty)
Method setProperty
|
void |
setProperty(Property[] propertyArray)
Method setProperty
|
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 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 void addXmlTag(XmlTag vXmlTag) throws java.lang.IndexOutOfBoundsException
vXmlTag - java.lang.IndexOutOfBoundsExceptionpublic void addXmlTag(int index,
XmlTag vXmlTag)
throws java.lang.IndexOutOfBoundsException
index - vXmlTag - java.lang.IndexOutOfBoundsExceptionpublic java.util.Enumeration enumerateProperty()
public java.util.Enumeration enumerateXmlTag()
public java.lang.String getName()
public Property getProperty(int index) throws java.lang.IndexOutOfBoundsException
index - java.lang.IndexOutOfBoundsExceptionpublic Property[] getProperty()
public int getPropertyCount()
public XmlTag getXmlTag(int index) throws java.lang.IndexOutOfBoundsException
index - java.lang.IndexOutOfBoundsExceptionpublic 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.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 void removeAllXmlTag()
public Property removeProperty(int index)
index - public XmlTag removeXmlTag(int index)
index - public void setName(java.lang.String name)
name - the value of field 'name'.public void setProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty - java.lang.IndexOutOfBoundsExceptionpublic void setProperty(Property[] propertyArray)
propertyArray - public void setXmlTag(int index,
XmlTag vXmlTag)
throws java.lang.IndexOutOfBoundsException
index - vXmlTag - java.lang.IndexOutOfBoundsExceptionpublic 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.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException