Package org.apache.abdera.model
Interface IRIElement
-
@Deprecated(since="2021-07-29") public interface IRIElement extends Element
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.The IRI interface provides a common base for a set of feed and entry elements whose content value must be a valid IRI/URI reference. These include the elements atom:icon, atom:logo, and atom:id.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IRI
getResolvedValue()
Deprecated.Returns the value of the element resolved against the current in-scope Base URIIRI
getValue()
Deprecated.Returns the value of the element as a java.net.URIIRIElement
setNormalizedValue(java.lang.String iri)
Deprecated.Set the value of this element using the normalization as specified in RFC4287IRIElement
setValue(java.lang.String iri)
Deprecated.Sets the value of the element-
Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
-
Methods inherited from interface org.apache.abdera.model.Element
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText
-
-
-
-
Method Detail
-
getValue
IRI getValue()
Deprecated.Returns the value of the element as a java.net.URI- Returns:
- The IRI value of this element
-
setValue
IRIElement setValue(java.lang.String iri)
Deprecated.Sets the value of the element- Parameters:
iri
- The iri value- Throws:
IRISyntaxException
- if the value is malformed
-
setNormalizedValue
IRIElement setNormalizedValue(java.lang.String iri)
Deprecated.Set the value of this element using the normalization as specified in RFC4287- Parameters:
iri
- A non-normalized IRI- Throws:
IRISyntaxException
- if the iri is malformed
-
getResolvedValue
IRI getResolvedValue()
Deprecated.Returns the value of the element resolved against the current in-scope Base URI- Returns:
- The resolved IRI value
-
-