79 * Property name patterns are used in the context clause of
80 * an operation definition and as a parameter for the
81 * method <code>Context.get_values</code>.
82 * <P>
83 * <code>Context</code> objects may be "chained" together to achieve a
84 * particular defaulting behavior. A <code>Context</code>
85 * object created with the method <code>create_child</code> will
86 * be chained to its parent (the <code>Context</code> object
87 * that created it), and that means that the parent will be searched
88 * after the child in a search for property names.
89 *<P>
90 * Properties defined in a particular <code>Context</code> object
91 * effectively override those properties in the next higher level.
92 * The scope used in a search for properties may be restricted by specifying a
93 * starting scope and by using the flag <code>CTX_RESTRICT_SCOPE</code>
94 * when invoking the method <code>get_values</code>.
95 * <P>
96 * A <code>Context</code> object may be named for purposes of specifying
97 * a starting search scope.
98 *
99 * @since JDK1.2
100 */
101
102 public abstract class Context {
103
104 /**
105 * Retrieves the name of this <code>Context</code> object.
106 *
107 * @return the name of this <code>Context</code> object
108 */
109
110 public abstract String context_name();
111
112
113 /**
114 * Retrieves the parent of this <code>Context</code> object.
115 *
116 * @return the <code>Context</code> object that is the
117 * parent of this <code>Context</code> object
118 */
119
|
79 * Property name patterns are used in the context clause of
80 * an operation definition and as a parameter for the
81 * method <code>Context.get_values</code>.
82 * <P>
83 * <code>Context</code> objects may be "chained" together to achieve a
84 * particular defaulting behavior. A <code>Context</code>
85 * object created with the method <code>create_child</code> will
86 * be chained to its parent (the <code>Context</code> object
87 * that created it), and that means that the parent will be searched
88 * after the child in a search for property names.
89 *<P>
90 * Properties defined in a particular <code>Context</code> object
91 * effectively override those properties in the next higher level.
92 * The scope used in a search for properties may be restricted by specifying a
93 * starting scope and by using the flag <code>CTX_RESTRICT_SCOPE</code>
94 * when invoking the method <code>get_values</code>.
95 * <P>
96 * A <code>Context</code> object may be named for purposes of specifying
97 * a starting search scope.
98 *
99 * @since 1.2
100 */
101
102 public abstract class Context {
103
104 /**
105 * Retrieves the name of this <code>Context</code> object.
106 *
107 * @return the name of this <code>Context</code> object
108 */
109
110 public abstract String context_name();
111
112
113 /**
114 * Retrieves the parent of this <code>Context</code> object.
115 *
116 * @return the <code>Context</code> object that is the
117 * parent of this <code>Context</code> object
118 */
119
|