public class XmlTag extends Object implements Serializable
Type | Property and Description |
---|---|
Enumeration |
enumerate
Method enumerateProperty
|
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
|
Enumeration |
enumerateProperty()
Method enumerateProperty
|
Enumeration |
enumerateXmlTag()
Method enumerateXmlTag
|
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(ContentHandler handler)
Method marshal
|
void |
marshal(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(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 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 void addXmlTag(XmlTag vXmlTag) throws IndexOutOfBoundsException
vXmlTag
- IndexOutOfBoundsException
public void addXmlTag(int index, XmlTag vXmlTag) throws IndexOutOfBoundsException
index
- vXmlTag
- IndexOutOfBoundsException
public Enumeration enumerateProperty()
public Enumeration enumerateXmlTag()
public String getName()
public Property getProperty(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public Property[] getProperty()
public int getPropertyCount()
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 removeAllProperty()
public void removeAllXmlTag()
public Property removeProperty(int index)
index
- public XmlTag removeXmlTag(int index)
index
- public void setName(String name)
name
- the value of field 'name'.public void setProperty(int index, Property vProperty) throws IndexOutOfBoundsException
index
- vProperty
- IndexOutOfBoundsException
public void setProperty(Property[] propertyArray)
propertyArray
- 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