org.oasis.ebxml.registry.bindings.rim
Class PostalAddress
java.lang.Object
org.oasis.ebxml.registry.bindings.rim.PostalAddressType
org.oasis.ebxml.registry.bindings.rim.PostalAddress
- All Implemented Interfaces:
- java.io.Serializable
- public class PostalAddress
- extends PostalAddressType
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class org.oasis.ebxml.registry.bindings.rim.PostalAddressType |
addPostalAddressTypeItem, addPostalAddressTypeItem, clearPostalAddressTypeItem, enumeratePostalAddressTypeItem, getCity, getCountry, getPostalAddressTypeItem, getPostalAddressTypeItem, getPostalAddressTypeItemCount, getPostalCode, getStateOrProvince, getStreet, getStreetNumber, removePostalAddressTypeItem, setCity, setCountry, setPostalAddressTypeItem, setPostalAddressTypeItem, setPostalCode, setStateOrProvince, setStreet, setStreetNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostalAddress
public PostalAddress()
isValid
public boolean isValid()
- Overrides:
isValid
in class PostalAddressType
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal
in class PostalAddressType
- Parameters:
out
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal
in class PostalAddressType
- Parameters:
handler
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
unmarshal
public static PostalAddress unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class PostalAddressType
- Throws:
org.exolab.castor.xml.ValidationException