Package org.apache.poi.poifs.property
Interface Child
- All Known Subinterfaces:
Parent
- All Known Implementing Classes:
DirectoryProperty
,DocumentProperty
,Property
,RootProperty
public interface Child
This interface defines methods for finding and setting sibling
Property instances
- Author:
- Marc Johnson (mjohnson at apache dot org)
-
Method Summary
Modifier and TypeMethodDescriptionGet the next Child, if anyGet the previous Child, if anyvoid
setNextChild
(Child child) Set the next Childvoid
setPreviousChild
(Child child) Set the previous Child
-
Method Details
-
getNextChild
Child getNextChild()Get the next Child, if any- Returns:
- the next Child; may return null
-
getPreviousChild
Child getPreviousChild()Get the previous Child, if any- Returns:
- the previous Child; may return null
-
setNextChild
Set the next Child- Parameters:
child
- the new 'next' child; may be null, which has the effect of saying there is no 'next' child
-
setPreviousChild
Set the previous Child- Parameters:
child
- the new 'previous' child; may be null, which has the effect of saying there is no 'previous' child
-