-
- 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
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/xml/registry/infomodel/externallink.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.