|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalLink
ExternalLink instances model a named URI to content that may reside outside the registry. RegistryObject may be associated with any number of ExternalLinks to annotate a RegistryObject with external links to external content.
Consider the case where a Submitting Organization submits a repository item (e.g. a DTD) and wants to associate some external content to that object (e.g. the Submitting Organization's home page). The ExternalLink enables this capability.
RegistryObject
Method Summary | |
---|---|
String |
getExternalURI()
Gets URI to the an external resource. |
Collection |
getLinkedObjects()
Gets the collection of RegistryObjects that are annotated by this ExternalLink. |
void |
setExternalURI(String uri)
Sets URI for an external resource. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.URIValidator |
---|
getValidateURI, setValidateURI |
Method Detail |
---|
Collection getLinkedObjects() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorString getExternalURI() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setExternalURI(String uri) throws JAXRException
uri
- the URI String for this object (e.g. "http://java.sun.com")
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.