Top Description Methods
org.apache.poi.poifs.property

public Interface Parent

extends Child, Iterable<Property>
Known Direct Implementers
org.apache.poi.poifs.property.DirectoryProperty
Imports
java.util.Iterator, java.io.IOException

Behavior for parent (directory) properties

Method Summary

Modifier and TypeMethod and Description
public void
addChild(final Property
the new child to be added; must not be null
property
)

Add a new child to the collection of children

public Iterator<Property>

Returns:

Iterator of children; may refer to an empty collection
getChildren
()

Get an iterator over the children of this Parent; all elements are instances of Property.

public void
setNextChild(final Child
the new 'next' child; may be null, which has the effect of saying there is no 'next' child
child
)

Redeclares org.apache.poi.poifs.property.Child.setNextChild.

Set the next Child

public void
setPreviousChild(final Child
the new 'previous' child; may be null, which has the effect of saying there is no 'previous' child
child
)

Redeclares org.apache.poi.poifs.property.Child.setPreviousChild.

Set the previous Child

Inherited from java.lang.Iterable:
forEachiteratorspliterator
Inherited from org.apache.poi.poifs.property.Child:
getNextChildgetPreviousChild

Method Detail

addChildback to summary
public void addChild(final Property property) throws IOException

Add a new child to the collection of children

Parameters
property:Property

the new child to be added; must not be null

Exceptions
IOException:
if the Parent already has a child with the same name
getChildrenback to summary
public Iterator<Property> getChildren()

Get an iterator over the children of this Parent; all elements are instances of Property.

Returns:Iterator<Property>

Iterator of children; may refer to an empty collection

setNextChildback to summary
public void setNextChild(final Child child)

Redeclares org.apache.poi.poifs.property.Child.setNextChild.

Set the next Child

Parameters
child:Child

the new 'next' child; may be null, which has the effect of saying there is no 'next' child

setPreviousChildback to summary
public void setPreviousChild(final Child child)

Redeclares org.apache.poi.poifs.property.Child.setPreviousChild.

Set the previous Child

Parameters
child:Child

the new 'previous' child; may be null, which has the effect of saying there is no 'previous' child