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

Constructor Summary
Official()
           
 
Method Summary
 java.lang.String getPrimary()
           
 java.lang.String getSecondary()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setPrimary(java.lang.String _primary)
           
 void setSecondary(java.lang.String _secondary)
           
static Official unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Official

public Official()
Method Detail

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