org.oasis.ebxml.registry.bindings.rim
Class TelephoneNumber

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rim.TelephoneNumberType
      extended byorg.oasis.ebxml.registry.bindings.rim.TelephoneNumber
All Implemented Interfaces:
java.io.Serializable

public class TelephoneNumber
extends TelephoneNumberType
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TelephoneNumber()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static TelephoneNumber unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.oasis.ebxml.registry.bindings.rim.TelephoneNumberType
getAreaCode, getCountryCode, getExtension, getNumber, getPhoneType, getUrl, setAreaCode, setCountryCode, setExtension, setNumber, setPhoneType, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumber

public TelephoneNumber()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class TelephoneNumberType

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Specified by:
marshal in class TelephoneNumberType
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 TelephoneNumberType
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

unmarshal

public static TelephoneNumber 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 TelephoneNumberType
Throws:
org.exolab.castor.xml.ValidationException