Component name: VRESOURCE
Purpose: This component provides a typed reference to external
information about a resource or optionally a plain text typed
value. Typically a resource is anything that might be required or
used by a calendar entity and possibly has a directory entry.
Conformance: This component can be specified multiple times in a
"VEVENT", "VTODO", "VJOURNAL", "VFREEBUSY" or "PARTICIPANT"
calendar component.
Description: When used in a component this component provides
information about resources used for the event such as rooms,
projectors, conferencing capabilities.
The RESOURCE-TYPE value registry provides a place in which
resource types may be registered.
STRUCTURED-DATA properties if present may refer to representations
of the resource - such as a vCard.
Format Definition:
This component is defined by the following notation:
resourcec = "BEGIN" ":" "VRESOURCE" CRLF
resprop
"END" ":" "VRESOURCE" CRLF
resprop = ; the elements herein may appear in any order,
; and the order is not significant.
uid
(name)
(description)
(geo)
(restype)
sdataprop
iana-prop
The NAME property is defined in [RFC7986]
| Modifier and Type | Class and Description |
|---|---|
| public static class | VResource.
Default factory. |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | VResource(final PropertyList
a list of properties properties, final ComponentList<Component> components)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public final Optional | Returns: the DESCRIPTION property or null if not specifiedReturns the optional description property. |
| public final Optional | |
| public final Optional | |
| public Optional | Returns: the ResourceType property or null if not specifiedReturns the optional ResourceType property. |
| public final List | |
| protected ComponentFactory | newFactory()
Implements abstract net. Returns a new component factory used to create deep copies. |
| public ValidationResult | validate(final boolean
indicates whether to validate the component's properties recurse)Implements abstract net. Perform validation on a component. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| VResource | back to summary |
|---|---|
| public VResource() Default constructor. | |
| VResource | back to summary |
|---|---|
| public VResource(final PropertyList properties) Constructor.
| |
| VResource | back to summary |
|---|---|
| public VResource(final PropertyList properties, final ComponentList<Component> components) Constructor.
| |
| getDescription | back to summary |
|---|---|
| public final Optional Returns the optional description property.
| |
| getGeo | back to summary |
|---|---|
| public final Optional | |
| getNameProp | back to summary |
|---|---|
| public final Optional | |
| getResourceType | back to summary |
|---|---|
| public Optional Returns the optional ResourceType property.
| |
| getStructuredData | back to summary |
|---|---|
| public final List | |
| newFactory | back to summary |
|---|---|
| protected ComponentFactory Implements abstract net. Doc from net. Returns a new component factory used to create deep copies.
| |
| validate | back to summary |
|---|---|
| public ValidationResult validate(final boolean recurse) throws ValidationException Implements abstract net. Doc from net. Perform validation on a component.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public VResource | |
| public VResource | createComponent(final PropertyList properties)
Implements net.
|
| Factory | back to summary |
|---|---|
| public Factory() | |
| createComponent | back to summary |
|---|---|
| public VResource createComponent() Implements net.
| |
| createComponent | back to summary |
|---|---|
| public VResource createComponent(final PropertyList properties) Implements net.
| |