Package loci.poi.poifs.property
Interface Parent
- All Superinterfaces:
Child
- All Known Implementing Classes:
DirectoryProperty,RootProperty
Behavior for parent (directory) properties
- Author:
- Marc Johnson27591@hotmail.com
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a new child to the collection of childrenGet an iterator over the children of this Parent; all elements are instances of Property.voidsetNextChild(Child child) Set the next ChildvoidsetPreviousChild(Child child) Set the previous ChildMethods inherited from interface loci.poi.poifs.property.Child
getNextChild, getPreviousChild
-
Method Details
-
getChildren
Iterator getChildren()Get an iterator over the children of this Parent; all elements are instances of Property.- Returns:
- Iterator of children; may refer to an empty collection
-
addChild
Add a new child to the collection of children- Parameters:
property- the new child to be added; must not be null- Throws:
IOException- if the Parent already has a child with the same name
-
setPreviousChild
Set the previous Child- Specified by:
setPreviousChildin interfaceChild- Parameters:
child- the new 'previous' child; may be null, which has the effect of saying there is no 'previous' child
-
setNextChild
Set the next Child- Specified by:
setNextChildin interfaceChild- Parameters:
child- the new 'next' child; may be null, which has the effect of saying there is no 'next' child
-