garnet.gateway.xsil.schema
Class Param
java.lang.Object
|
+--garnet.gateway.xsil.schema.Param
- All Implemented Interfaces:
- java.io.Serializable
- public class Param
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Param()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Param
public Param()
getContent
public java.lang.String getContent()
getName
public java.lang.String getName()
getType
public java.lang.String getType()
getUnit
public java.lang.String getUnit()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
setContent
public void setContent(java.lang.String content)
- Parameters:
content
-
setName
public void setName(java.lang.String name)
- Parameters:
name
-
setType
public void setType(java.lang.String type)
- Parameters:
type
-
setUnit
public void setUnit(java.lang.String unit)
- Parameters:
unit
-
unmarshal
public static Param unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException