@Deprecated public class LinkInfo extends DocumentedInfo
Constructor and Description |
---|
LinkInfo()
Deprecated.
Constructor.
|
LinkInfo(DocumentationInfo documentation)
Deprecated.
Constructor with a single documentation element.
|
LinkInfo(java.util.List<DocumentationInfo> documentations)
Deprecated.
Constructor with a list of documentation elements.
|
LinkInfo(java.lang.String documentation)
Deprecated.
Constructor with a single documentation element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRelationship()
Deprecated.
Returns the relationship attribute value.
|
Reference |
getResourceType()
Deprecated.
Returns the reference to the resource type of the linked resource.
|
java.lang.String |
getReverseRelationship()
Deprecated.
Returns the reverse relationship attribute value.
|
void |
setRelationship(java.lang.String relationship)
Deprecated.
Sets the relationship attribute value.
|
void |
setResourceType(Reference resourceType)
Deprecated.
Sets the reference to the resource type of the linked resource.
|
void |
setReverseRelationship(java.lang.String reverseRelationship)
Deprecated.
Sets the reverse relationship attribute value.
|
void |
updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
Deprecated.
Completes the given map of namespaces with the namespaces used in the
documentation elements.
|
void |
writeElement(XmlWriter writer)
Deprecated.
Writes the current object as an XML element using the given SAX writer.
|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations
public LinkInfo()
public LinkInfo(DocumentationInfo documentation)
documentation
- A single documentation element.public LinkInfo(java.util.List<DocumentationInfo> documentations)
documentations
- The list of documentation elements.public LinkInfo(java.lang.String documentation)
documentation
- A single documentation element.public java.lang.String getRelationship()
public Reference getResourceType()
public java.lang.String getReverseRelationship()
public void setRelationship(java.lang.String relationship)
relationship
- The relationship attribute value.public void setResourceType(Reference resourceType)
resourceType
- The reference to the resource type of the linked resource.public void setReverseRelationship(java.lang.String reverseRelationship)
reverseRelationship
- The reverse relationship attribute value.public void updateNamespaces(java.util.Map<java.lang.String,java.lang.String> namespaces)
DocumentedInfo
updateNamespaces
in class DocumentedInfo
namespaces
- The given map of namespaces to complete.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer
- The SAX writer.org.xml.sax.SAXException
Copyright © 2005-2020 Restlet.