Class Option

java.lang.Object
org.gvsig.andami.config.generate.Option
All Implemented Interfaces:
Serializable

public class Option extends Object implements Serializable
Class Option.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • Option

      public Option()
  • Method Details

    • getName

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

      public String getValue()
      Returns the value of field 'value'.
      Returns:
      the value of field 'value'.
    • 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
    • setName

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

      public void setValue(String value)
      Sets the value of field 'value'.
      Parameters:
      value - the value of field 'value'.
    • 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