-
- All Superinterfaces:
- ExtensibleObject, RegistryObject, URIValidator
public interface ExternalLink extends RegistryObject, URIValidator
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.
- Author:
- Farrukh S. Najmi
- See Also:
RegistryObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description 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.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
-
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
-
getLinkedObjects
Collection getLinkedObjects() throws JAXRException
Gets the collection of RegistryObjects that are annotated by this ExternalLink.- Capability Level: 0
- Returns:
- Collection of RegistryObjects. Return an empty Collection if no RegistryObjects are annotated by this object.
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
getExternalURI
String getExternalURI() throws JAXRException
Gets URI to the an external resource. Default is a NULL String.- Capability Level: 0
- Returns:
- the URI String for this object (e.g. "http://java.sun.com")
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
setExternalURI
void setExternalURI(String uri) throws JAXRException
Sets URI for an external resource.- Capability Level: 0
- Parameters:
uri
- the URI String for this object (e.g. "http://java.sun.com")- Throws:
JAXRException
- If the JAXR provider encounters an internal error
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
22/08/2025 00:58:58 Cette version de la page est en cache (à la date du 22/08/2025 00:58:58) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/externallink.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.