Class XmlTag

java.lang.Object
org.gvsig.utils.xmlEntity.generate.XmlTag
All Implemented Interfaces:
Serializable

public class XmlTag extends Object implements Serializable
Class XmlTag.
Version:
$Revision: 29631 $ $Date: 2009-06-29 18:56:19 +0200 (lun, 29 jun 2009) $
See Also:
  • Constructor Details

    • XmlTag

      public XmlTag()
  • Method Details

    • addProperty

      public void addProperty(Property vProperty) throws IndexOutOfBoundsException
      Method addProperty
      Parameters:
      vProperty -
      Throws:
      IndexOutOfBoundsException
    • addProperty

      public void addProperty(int index, Property vProperty) throws IndexOutOfBoundsException
      Method addProperty
      Parameters:
      index -
      vProperty -
      Throws:
      IndexOutOfBoundsException
    • addXmlTag

      public void addXmlTag(XmlTag vXmlTag) throws IndexOutOfBoundsException
      Method addXmlTag
      Parameters:
      vXmlTag -
      Throws:
      IndexOutOfBoundsException
    • addXmlTag

      public void addXmlTag(int index, XmlTag vXmlTag) throws IndexOutOfBoundsException
      Method addXmlTag
      Parameters:
      index -
      vXmlTag -
      Throws:
      IndexOutOfBoundsException
    • enumerateProperty

      public Enumeration enumerateProperty()
      Method enumerateProperty
    • enumerateXmlTag

      public Enumeration enumerateXmlTag()
      Method enumerateXmlTag
    • getName

      public String getName()
      Returns the value of field 'name'.
      Returns:
      the value of field 'name'.
    • getProperty

      public Property getProperty(int index) throws IndexOutOfBoundsException
      Method getProperty
      Parameters:
      index -
      Throws:
      IndexOutOfBoundsException
    • getProperty

      public Property[] getProperty()
      Method getProperty
    • getPropertyCount

      public int getPropertyCount()
      Method getPropertyCount
    • getXmlTag

      public XmlTag getXmlTag(int index) throws IndexOutOfBoundsException
      Method getXmlTag
      Parameters:
      index -
      Throws:
      IndexOutOfBoundsException
    • getXmlTag

      public XmlTag[] 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.MarshalException
      org.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:
      IOException
      org.exolab.castor.xml.MarshalException
      org.exolab.castor.xml.ValidationException
    • removeAllProperty

      public void removeAllProperty()
      Method removeAllProperty
    • removeAllXmlTag

      public void removeAllXmlTag()
      Method removeAllXmlTag
    • removeProperty

      public Property removeProperty(int index)
      Method removeProperty
      Parameters:
      index -
    • removeXmlTag

      public XmlTag removeXmlTag(int index)
      Method removeXmlTag
      Parameters:
      index -
    • setName

      public void setName(String name)
      Sets the value of field 'name'.
      Parameters:
      name - the value of field 'name'.
    • setProperty

      public void setProperty(int index, Property vProperty) throws IndexOutOfBoundsException
      Method setProperty
      Parameters:
      index -
      vProperty -
      Throws:
      IndexOutOfBoundsException
    • setProperty

      public void setProperty(Property[] propertyArray)
      Method setProperty
      Parameters:
      propertyArray -
    • setXmlTag

      public void setXmlTag(int index, XmlTag vXmlTag) throws IndexOutOfBoundsException
      Method setXmlTag
      Parameters:
      index -
      vXmlTag -
      Throws:
      IndexOutOfBoundsException
    • setXmlTag

      public void setXmlTag(XmlTag[] xmlTagArray)
      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.MarshalException
      org.exolab.castor.xml.ValidationException
    • validate

      public void validate() throws org.exolab.castor.xml.ValidationException
      Method validate
      Throws:
      org.exolab.castor.xml.ValidationException