public class Where extends Element
Modifier and Type | Class and Description |
---|---|
static class |
Where.Rel
Meaning of this location.
|
Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.Void,Where> |
KEY
The key for this element.
|
static AttributeKey<java.lang.String> |
LABEL
User-readable label that identifies this location in case multiple
locations may be present.
|
static AttributeKey<java.lang.String> |
REL
Meaning of this location.
|
static AttributeKey<java.lang.String> |
VALUE_STRING
Text description of the place.
|
Constructor and Description |
---|
Where()
Constructs an instance using the default key.
|
Modifier and Type | Method and Description |
---|---|
EntryLink |
getEntryLink()
Returns the nested person or venue (Contact) entry.
|
java.lang.String |
getLabel()
Returns the user-readable label that identifies this location in case
multiple locations may be present.
|
java.lang.String |
getRel()
Returns the meaning of this location.
|
java.lang.String |
getValueString()
Returns the text description of the place.
|
boolean |
hasEntryLink()
Returns whether it has the nested person or venue (Contact) entry.
|
boolean |
hasLabel()
Returns whether it has the user-readable label that identifies this
location in case multiple locations may be present.
|
boolean |
hasRel()
Returns whether it has the meaning of this location.
|
boolean |
hasValueString()
Returns whether it has the text description of the place.
|
Where |
lock()
Locks this element.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
Where |
setEntryLink(EntryLink entryLink)
Sets the nested person or venue (Contact) entry.
|
Where |
setLabel(java.lang.String label)
Sets the user-readable label that identifies this location in case multiple
locations may be present.
|
Where |
setRel(java.lang.String rel)
Sets the meaning of this location.
|
Where |
setValueString(java.lang.String valueString)
Sets the text description of the place.
|
addElement, addElement, addElement, clear, createElement, createElement, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
public static final ElementKey<java.lang.Void,Where> KEY
public static final AttributeKey<java.lang.String> LABEL
public static final AttributeKey<java.lang.String> REL
public static final AttributeKey<java.lang.String> VALUE_STRING
public static void registerMetadata(MetadataRegistry registry)
public Where lock()
Element
public EntryLink getEntryLink()
public Where setEntryLink(EntryLink entryLink)
entryLink
- nested person or venue (Contact) entry or null
to
resetpublic boolean hasEntryLink()
public java.lang.String getLabel()
public Where setLabel(java.lang.String label)
label
- user-readable label that identifies this location in case
multiple locations may be present or null
to resetpublic boolean hasLabel()
public java.lang.String getRel()
public Where setRel(java.lang.String rel)
rel
- meaning of this location or null
to resetpublic boolean hasRel()
public java.lang.String getValueString()
public Where setValueString(java.lang.String valueString)
valueString
- text description of the place or null
to resetpublic boolean hasValueString()