public class Where extends ExtensionPoint implements Extension
| Modifier and Type | Class and Description |
|---|---|
static class |
Where.Rel
Relation type.
|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
protected EntryLink<?> |
entryLink
Nested person or venue (Contact) entry.
|
protected String |
label
User-readable label that identifies this location in case multiple
locations may be present.
|
protected String |
rel
Describes the meaning of this location.
|
protected String |
valueString
Text description of the place.
|
xmlBloblocalName, namespace| Constructor and Description |
|---|
Where()
Constructs an empty Where instance.
|
Where(String rel,
String label,
String valueString)
Constructs a new Where instance using the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate(XmlWriter w,
ExtensionProfile extProfile)
Generates an XML representation for the extension.
|
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description.
|
EntryLink<?> |
getEntryLink() |
XmlParser.ElementHandler |
getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. |
String |
getLabel() |
String |
getRel() |
String |
getValueString() |
void |
setEntryLink(EntryLink<?> v) |
void |
setLabel(String v) |
void |
setRel(String v) |
void |
setValueString(String v) |
protected void |
visitChildren(ExtensionVisitor ev)
Called to visit all children of this extension point.
|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChildconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validateprotected String rel
protected String label
protected String valueString
protected EntryLink<?> entryLink
public String getRel()
public void setRel(String v)
public String getLabel()
public void setLabel(String v)
public String getValueString()
public void setValueString(String v)
public EntryLink<?> getEntryLink()
public void setEntryLink(EntryLink<?> v)
public static ExtensionDescription getDefaultDescription()
protected void visitChildren(ExtensionVisitor ev) throws ExtensionVisitor.StoppedException
ExtensionPointvisitChildren in class ExtensionPointev - the extension visitor.ExtensionVisitor.StoppedExceptionpublic void generate(XmlWriter w, ExtensionProfile extProfile) throws IOException
Extensiongenerate in interface Extensiongenerate in class AbstractExtensionw - XML writerextProfile - extension profileIOExceptionpublic XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
AbstractExtensionAbstractExtension.AttributesHandler to handle
parsing the extension.getHandler in interface ExtensiongetHandler in class ExtensionPointextProfile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributesCopyright © 2012. All Rights Reserved.