Lines Matching refs:node
39 * The general representation of a single node within a {@link com.sun.xml.internal.ws.policy.sourcemodel.PolicySourceModel} instance.
40 * The model node is created via factory methods of the {@link com.sun.xml.internal.ws.policy.sourcemodel.PolicySourceModel} instance.
49 * Policy source model node type enumeration
70 * Method checks the PSM state machine if the creation of new child of given type is plausible for a node element
112 // comon model node attributes
119 // attributes used only in 'POLICY_REFERENCE' model node
123 // attibutes used only in 'ASSERTION' or 'ASSERTION_PARAMETER_NODE' model node
127 * The factory method creates and initializes the POLICY model node and sets it's parent model reference to point to
132 * @return POLICY model node with the parent model reference initialized to the model supplied as an input parameter
168 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
169 * Each node is created with respect to its enclosing policy source model.
171 * @return A new Policy node.
176 final ModelNode node = new ModelNode(ModelNode.Type.POLICY, parentModel);
177 this.addChild(node);
179 return node;
183 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
184 * Each node is created with respect to its enclosing policy source model.
186 * @return A new All node.
191 final ModelNode node = new ModelNode(ModelNode.Type.ALL, parentModel);
192 this.addChild(node);
194 return node;
198 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
199 * Each node is created with respect to its enclosing policy source model.
201 * @return A new ExactlyOne node.
206 final ModelNode node = new ModelNode(ModelNode.Type.EXACTLY_ONE, parentModel);
207 this.addChild(node);
209 return node;
213 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
214 * Each node is created with respect to its enclosing policy source model.
216 * @return A new policy assertion node.
221 final ModelNode node = new ModelNode(ModelNode.Type.ASSERTION, parentModel);
222 this.addChild(node);
224 return node;
228 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
229 * Each node is created with respect to its enclosing policy source model.
232 * @return A new policy assertion node.
237 final ModelNode node = new ModelNode(Type.ASSERTION, parentModel, nodeData);
238 this.addChild(node);
240 return node;
244 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
245 * Each node is created with respect to its enclosing policy source model.
247 * @return A new assertion parameter node.
252 final ModelNode node = new ModelNode(ModelNode.Type.ASSERTION_PARAMETER_NODE, parentModel);
253 this.addChild(node);
255 return node;
259 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
260 * Each node is created with respect to its enclosing policy source model.
263 * @return A new assertion parameter node.
268 final ModelNode node = new ModelNode(Type.ASSERTION_PARAMETER_NODE, parentModel, nodeData);
269 this.addChild(node);
271 return node;
275 * Factory method that creates new policy source model node as specified by a factory method name and input parameters.
276 * Each node is created with respect to its enclosing policy source model.
279 * @return A new PolicyReference node.
284 final ModelNode node = new ModelNode(parentModel, referenceData);
285 this.parentModel.addNewPolicyReference(node);
286 this.addChild(node);
288 return node;
296 * Sets the parent model reference on the node and its children. The method may be invoked only on the root node
297 * of the policy source model (or - in general - on a model node that dose not reference a parent node). Otherwise an
301 * @throws IllegalAccessException in case this node references a parent node (i.e. is not a root node of the model).
312 * The method updates the parentModel reference on current model node instance and all of it's children
325 * Returns the parent policy source model that contains this model node.
334 * Returns the type of this policy source model node.
336 * @return actual type of this policy source model node
343 * Returns the parent referenced by this policy source model node.
345 * @return current parent of this policy source model node or {@code null} if the node does not have a parent currently.
352 * Returns the data for this policy source model node (if any). The model node data are expected to be not {@code null} only in
353 * case the type of this node is ASSERTION or ASSERTION_PARAMETER_NODE.
355 * @return the data of this policy source model node or {@code null} if the node does not have any data associated to it
363 * Returns the policy reference data for this policy source model node. The policy reference data are expected to be not {@code null} only in
364 * case the type of this node is POLICY_REFERENCE.
366 * @return the policy reference data for this policy source model node or {@code null} if the node does not have any policy reference data
374 * The method may be used to set or replace assertion data set for this node. If there are assertion data set already,
377 * This method is supported only in case this model node instance's type is {@code ASSERTION} or {@code ASSERTION_PARAMETER_NODE}.
378 * If used from other node types, an exception is thrown.
398 * The method specifies whether the model node instance represents assertion related node, it means whether its type
399 * is 'ASSERTION' or 'ASSERTION_PARAMETER_NODE'. This is, for example, the way to determine whether the node supports
402 * @return {@code true} or {@code false} according to whether the node instance represents assertion related node or not.
409 * Appends the specified child node to the end of the children list of this node and sets it's parent to reference
410 * this node.
412 * @param child node to be appended to the children list of this node.
415 * @throws NullPointerException if the specified node is {@code null}.
416 * @throws IllegalArgumentException if child has a parent node set already to point to some node
438 * Returns the number of child policy source model nodes. If this model node contains
441 * @return the number of children of this node.
448 * Returns true if the node has at least one child node.
450 * @return true if the node has at least one child node, false otherwise.