net.fortuna.ical4j.model.component
Class XComponent
java.lang.Object
net.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
net.fortuna.ical4j.model.component.XComponent
- All Implemented Interfaces:
- java.io.Serializable
public class XComponent
- extends CalendarComponent
Implementation of an experimental component as defined in RFC2445.
- Author:
- Ben Fortuna
- See Also:
- Serialized Form
Constructor Summary |
XComponent(java.lang.String name)
Creates a new experimental component with the specified name. |
XComponent(java.lang.String name,
PropertyList properties)
Creates a new experimental component with the specified name and properties. |
Method Summary |
void |
validate(boolean recurse)
Perform validation on a component. |
Methods inherited from class net.fortuna.ical4j.model.Component |
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, toString, validate, validateProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
XComponent
public XComponent(java.lang.String name)
- Creates a new experimental component with the specified name.
- Parameters:
name
- the name of the experimental component
XComponent
public XComponent(java.lang.String name,
PropertyList properties)
- Creates a new experimental component with the specified name and properties.
- Parameters:
name
- the name of the experimental componentproperties
- a list of properties
validate
public final void validate(boolean recurse)
throws ValidationException
- Description copied from class:
Component
- Perform validation on a component.
- Specified by:
validate
in class Component
- Parameters:
recurse
- indicates whether to validate the component's properties
- Throws:
ValidationException
- where the component is not in a valid state
Copyright © 2004-2007 Modularity. All Rights Reserved.