Package org.gvsig.andami.config.generate
Class Plugin
java.lang.Object
org.gvsig.andami.config.generate.Plugin
- All Implemented Interfaces:
Serializable
Class Plugin.
- Version:
- $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod deleteUpdategetName()Returns the value of field 'name'.booleanReturns the value of field 'update'.booleanMethod hasUpdatebooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidSets the value of field 'name'.voidsetUpdate(boolean update) Sets the value of field 'update'.static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
Plugin
public Plugin()
-
-
Method Details
-
deleteUpdate
public void deleteUpdate()Method deleteUpdate -
getName
Returns the value of field 'name'.- Returns:
- the value of field 'name'.
-
getUpdate
public boolean getUpdate()Returns the value of field 'update'.- Returns:
- the value of field 'update'.
-
hasUpdate
public boolean hasUpdate()Method hasUpdate -
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
-
setName
Sets the value of field 'name'.- Parameters:
name- the value of field 'name'.
-
setUpdate
public void setUpdate(boolean update) Sets the value of field 'update'.- Parameters:
update- the value of field 'update'.
-
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
-