Lines Matching refs:component

56      * A component within an iCalendar (VEVENT, VTODO, VJOURNAL, VFEEBUSY,
80 * Creates a new component with the provided name.
81 * @param name The name of the component.
89 * Returns the name of the component.
90 * @return The name of the component.
97 * Returns the parent of this component.
98 * @return The parent of this component.
116 * Adds a child component to this component.
117 * @param child The child component.
124 * Returns a list of the Component children of this component. May be
134 * Adds a Property to this component.
148 * Returns a set of the property names within this component.
149 * @return A set of property names within this component.
188 * Helper method that appends this component to a StringBuilder. The
190 * component.
208 for (Component component : mChildren) {
209 component.toString(sb);
221 * A property within an iCalendar component (e.g., DTSTART, DTEND, etc.,
420 * Parses text into an iCalendar component. Parses into the provided
421 * component, if not null, or parses into a new component. In the latter
423 * created top-level component.
427 private static Component parseComponentImpl(Component component,
430 Component current = component;
442 // if the provided component was null, we will return the root
445 if (component == null) {
446 component = current;
457 return component;
461 * Parses a line into the provided component. Creates a new component if
462 * the line is a BEGIN, adding the newly created component to the provided
463 * parent. Returns whatever component is the current one (to which new
467 Component component)
482 if (component == null) {
490 // start a new component
492 Component child = new Component(componentName, component);
493 if (component != null) {
494 component.addChild(child);
498 // finish the current component
500 if (component == null ||
501 !componentName.equals(component.getName())) {
504 return component.getParent();
517 component.addProperty(property);
518 return component;
605 * component must be of type VCALENDAR.
607 * @return The top-level VCALENDAR component.
621 * component must be of type VEVENT.
623 * @return The top-level VEVENT component.
636 * Parses the provided text into an iCalendar component.
638 * @return The top-level component.
640 * iCalendar component.
647 * Parses the provided text, adding to the provided component.
648 * @param component The component to which the parsed iCalendar data should
651 * @return The top-level component.
655 public static Component parseComponent(Component component, String text)
658 return parseComponentImpl(component, text);