KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > poi > poifs > property > Child


1
2 /* ====================================================================
3    Copyright 2002-2004 Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16 ==================================================================== */

17         
18
19 package org.apache.poi.poifs.property;
20
21 /**
22  * This interface defines methods for finding and setting sibling
23  * Property instances
24  *
25  * @author Marc Johnson (mjohnson at apache dot org)
26  */

27
28 public interface Child
29 {
30
31     /**
32      * Get the next Child, if any
33      *
34      * @return the next Child; may return null
35      */

36
37     public Child getNextChild();
38
39     /**
40      * Get the previous Child, if any
41      *
42      * @return the previous Child; may return null
43      */

44
45     public Child getPreviousChild();
46
47     /**
48      * Set the next Child
49      *
50      * @param child the new 'next' child; may be null, which has the
51      * effect of saying there is no 'next' child
52      */

53
54     public void setNextChild(final Child child);
55
56     /**
57      * Set the previous Child
58      *
59      * @param child the new 'previous' child; may be null, which has
60      * the effect of saying there is no 'previous' child
61      */

62
63     public void setPreviousChild(final Child child);
64 } // end public interface Child
65

66
Popular Tags