| Modifier and Type | Class and Description |
|---|---|
static class |
AnalyticsLink.Rel
Link relation type.
|
Link.AtomHandlerExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerILink.Type| Constructor and Description |
|---|
AnalyticsLink()
Default mutable constructor.
|
AnalyticsLink(java.lang.String targetKind)
Immutable constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
XmlParser.ElementHandler |
getHandler(ExtensionProfile p,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
The default implementation uses the
AttributesHandler to handle
parsing the extension. |
java.lang.String |
getTargetKind()
Returns the kind of feed/entry the href is pointing to.
|
int |
hashCode() |
boolean |
hasTargetKind()
Returns whether it has the kind of feed/entry the href is pointing to.
|
void |
setTargetKind(java.lang.String targetKind)
Sets the kind of feed/entry the href is pointing to.
|
java.lang.String |
toString() |
generate, generateAtom, generateRss, getContent, getEtag, getHref, getHrefLang, getLength, getRel, getTitle, getTitleLang, getType, matches, setContent, setEtag, setHref, setHrefLang, setLength, setRel, setTitle, setTitleLang, setTypeaddExtension, addRepeatingExtension, declareExtensions, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visitdisableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutablepublic AnalyticsLink()
public AnalyticsLink(java.lang.String targetKind)
targetKind - kind of feed/entry the href is pointing to.public java.lang.String getTargetKind()
public void setTargetKind(java.lang.String targetKind)
targetKind - kind of feed/entry the href is pointing to or
null to resetpublic boolean hasTargetKind()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required - whether it is requiredrepeatable - whether it is repeatablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic XmlParser.ElementHandler getHandler(ExtensionProfile p, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
AbstractExtensionAttributesHandler to handle
parsing the extension.getHandler in interface ExtensiongetHandler in class Linkp - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributes