ExternalLink

   
ExternalLink javax.xml.registry.infomodel

JAXR 1.0; JWSDP 1.0, J2EE 1.4
 public interface ExternalLink extends RegistryObject, URIValidator {  // Public Instance Methods  public abstract String getExternalURI(  )        throws javax.xml.registry.JAXRException;  //L0  public abstract Collection getLinkedObjects(  )        throws javax.xml.registry.JAXRException;  //L0  public abstract void setExternalURI(String   uri   )        throws javax.xml.registry.JAXRException;  //L0  } 

A RegistryObject may have any number of ExternalLink s that act as references to information related to the object that resides outside of the registry. The location of the referenced information is given by a URI that can be set using the setExternalURI( ) method and retrieved by calling getExternalURI( ) . The getLinkedObjects( ) method returns a Collection containing all of the RegistryObject s to which the ExternalLink has been applied using the RegistryObject addExternalLink( ) or addExternalLinks( ) methods. Compare this level 0 facility to ExtrinsicObject , which stores a copy of the information in a repository linked to the registry (but is available only with a level 1 JAXR provider).

Passed To

RegistryObject.{addExternalLink( ) , removeExternalLink( )}

Returned By

javax.xml.registry.LifeCycleManager.createExternalLink( )


   


Java Web Services in a Nutshell
Java Web Services in a Nutshell
ISBN: 0596003994
EAN: 2147483647
Year: 2003
Pages: 257
Authors: Kim Topley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net