Top Description Fields Constructors Methods
net.fortuna.ical4j.model.component

public Class XComponent

extends CalendarComponent
Class Inheritance
Imports
net.fortuna.ical4j.model.ComponentFactory, .PropertyList, net.fortuna.ical4j.util.CompatibilityHints, net.fortuna.ical4j.validate.ValidationEntry, .ValidationException, .ValidationResult

$Id$ Created on 3/11/2005 Implementation of an experimental component as defined in RFC2445.
Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from net.fortuna.ical4j.model.component.CalendarComponent:
EMPTY_VALIDATOR

Constructor Summary

AccessConstructor and Description
public
XComponent(final String
the name of the experimental component
name
)

Creates a new experimental component with the specified name.

public
XComponent(final String
the name of the experimental component
name
,
final PropertyList
a list of properties
properties
)

Creates a new experimental component with the specified name and properties.

Method Summary

Modifier and TypeMethod and Description
protected ComponentFactory<XComponent>
newFactory()

Implements abstract net.fortuna.ical4j.model.Component.newFactory.

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.fortuna.ical4j.model.Component.validate.

Perform validation on a component.

Inherited from net.fortuna.ical4j.model.component.CalendarComponent:
validatevalidateAddvalidateCancelvalidateCountervalidateDeclineCountervalidatePublishvalidateRefreshvalidateReplyvalidateRequest

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.component.CalendarComponent.serialVersionUID.

Constructor Detail

XComponentback to summary
public XComponent(final String name)

Creates a new experimental component with the specified name.

Parameters
name:String

the name of the experimental component

XComponentback to summary
public XComponent(final String name, final PropertyList properties)

Creates a new experimental component with the specified name and properties.

Parameters
name:String

the name of the experimental component

properties:PropertyList

a list of properties

Method Detail

newFactoryback to summary
protected ComponentFactory<XComponent> newFactory()

Implements abstract net.fortuna.ical4j.model.Component.newFactory.

Doc from net.fortuna.ical4j.model.Component.newFactory.

Returns a new component factory used to create deep copies.

Returns:ComponentFactory<XComponent>

a component factory instance

Annotations
@Override
validateback to summary
public ValidationResult validate(final boolean recurse) throws ValidationException

Implements abstract net.fortuna.ical4j.model.Component.validate.

Doc from net.fortuna.ical4j.model.Component.validate.

Perform validation on a component.

Parameters
recurse:boolean

indicates whether to validate the component's properties

Annotations
@Override
Exceptions
ValidationException:
where the component is not in a valid state