Class XmlTag
java.lang.Object
org.gvsig.utils.xmlEntity.generate.XmlTag
- All Implemented Interfaces:
Serializable
Class XmlTag.
- Version:
- $Revision: 29631 $ $Date: 2009-06-29 18:56:19 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(int index, Property vProperty) Method addPropertyvoidaddProperty(Property vProperty) Method addPropertyvoidMethod addXmlTagvoidMethod addXmlTagMethod enumeratePropertyMethod enumerateXmlTaggetName()Returns the value of field 'name'.Property[]Method getPropertygetProperty(int index) Method getPropertyintMethod getPropertyCountXmlTag[]Method getXmlTaggetXmlTag(int index) Method getXmlTagintMethod getXmlTagCountbooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidMethod removeAllPropertyvoidMethod removeAllXmlTagremoveProperty(int index) Method removePropertyremoveXmlTag(int index) Method removeXmlTagvoidSets the value of field 'name'.voidsetProperty(int index, Property vProperty) Method setPropertyvoidsetProperty(Property[] propertyArray) Method setPropertyvoidMethod setXmlTagvoidMethod setXmlTagstatic ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
XmlTag
public XmlTag()
-
-
Method Details
-
addProperty
Method addProperty- Parameters:
vProperty-- Throws:
IndexOutOfBoundsException
-
addProperty
Method addProperty- Parameters:
index-vProperty-- Throws:
IndexOutOfBoundsException
-
addXmlTag
Method addXmlTag- Parameters:
vXmlTag-- Throws:
IndexOutOfBoundsException
-
addXmlTag
Method addXmlTag- Parameters:
index-vXmlTag-- Throws:
IndexOutOfBoundsException
-
enumerateProperty
Method enumerateProperty -
enumerateXmlTag
Method enumerateXmlTag -
getName
Returns the value of field 'name'.- Returns:
- the value of field 'name'.
-
getProperty
Method getProperty- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getProperty
Method getProperty -
getPropertyCount
public int getPropertyCount()Method getPropertyCount -
getXmlTag
Method getXmlTag- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getXmlTag
Method getXmlTag -
getXmlTagCount
public int getXmlTagCount()Method getXmlTagCount -
isValid
public boolean isValid()Method isValid -
marshal
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
out-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
marshal
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
handler-- Throws:
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
removeAllProperty
public void removeAllProperty()Method removeAllProperty -
removeAllXmlTag
public void removeAllXmlTag()Method removeAllXmlTag -
removeProperty
Method removeProperty- Parameters:
index-
-
removeXmlTag
Method removeXmlTag- Parameters:
index-
-
setName
Sets the value of field 'name'.- Parameters:
name- the value of field 'name'.
-
setProperty
Method setProperty- Parameters:
index-vProperty-- Throws:
IndexOutOfBoundsException
-
setProperty
Method setProperty- Parameters:
propertyArray-
-
setXmlTag
Method setXmlTag- Parameters:
index-vXmlTag-- Throws:
IndexOutOfBoundsException
-
setXmlTag
Method setXmlTag- Parameters:
xmlTagArray-
-
unmarshal
public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method unmarshal- Parameters:
reader-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
validate
public void validate() throws org.exolab.castor.xml.ValidationExceptionMethod validate- Throws:
org.exolab.castor.xml.ValidationException
-