public interface Parent extends Child, Iterable<Property>
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Property property)
Add a new child to the collection of children
|
Iterator<Property> |
getChildren()
Get an iterator over the children of this Parent; all elements
are instances of Property.
|
void |
setNextChild(Child child)
Set the next Child
|
void |
setPreviousChild(Child child)
Set the previous Child
|
getNextChild, getPreviousChildforEach, iterator, spliteratorIterator<Property> getChildren()
void addChild(Property property) throws IOException
property - the new child to be added; must not be nullIOException - if the Parent already has a child with
the same namevoid setPreviousChild(Child child)
setPreviousChild in interface Childchild - the new 'previous' child; may be null, which has
the effect of saying there is no 'previous' childvoid setNextChild(Child child)
setNextChild in interface Childchild - the new 'next' child; may be null, which has the
effect of saying there is no 'next' childCopyright © 2010 - 2020 Adobe. All Rights Reserved