org.gxos.schema.papi
Class Official
java.lang.Object
|
+--org.gxos.schema.papi.Official
- All Implemented Interfaces:
- java.io.Serializable
- public class Official
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Official
public Official()
getPrimary
public java.lang.String getPrimary()
getSecondary
public java.lang.String getSecondary()
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 -
setPrimary
public void setPrimary(java.lang.String primary)
- Parameters:
primary -
setSecondary
public void setSecondary(java.lang.String secondary)
- Parameters:
secondary -
unmarshal
public static Official 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