Lines Matching refs:NodeSet

19  * $Id: NodeSet.java 468655 2006-10-28 07:12:06Z minchau $
36 * <p>The NodeSet class can act as either a NodeVector,
52 * <p>Thought: Should NodeSet really implement NodeList and NodeIterator,
59 public class NodeSet
66 public NodeSet()
77 public NodeSet(int blocksize)
84 * Create a NodeSet, and copy the members of the
89 public NodeSet(NodeList nodelist)
98 * Create a NodeSet, and copy the members of the
99 * given NodeSet into it.
103 public NodeSet(NodeSet nodelist)
112 * Create a NodeSet, and copy the members of the
117 public NodeSet(NodeIterator ni)
126 * Create a NodeSet which contains the given Node.
130 public NodeSet(Node node)
151 * @return a new NodeSet of the same type, having the same state...
154 * @throws CloneNotSupportedException if this subclass of NodeSet
160 NodeSet clone = (NodeSet) clone();
222 * @return true for all iterators based on NodeSet, meaning that the
264 * @throws RuntimeException thrown if this NodeSet is not of
272 XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_CANNOT_ITERATE, null)); //"This NodeSet can not iterate to a previous node!");
291 * This operation is a no-op in NodeSet, and will not cause
298 * Tells if this NodeSet is "fresh", in other words, if
311 * If an index is requested, NodeSet will call this method
319 * @throws RuntimeException thrown if this NodeSet is not
327 XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_CANNOT_INDEX, null)); //"This NodeSet can not do indexing or counting functions!");
372 * Add a node to the NodeSet. Not all types of NodeSets support this
376 * @throws RuntimeException thrown if this NodeSet is not of
383 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
394 * @throws RuntimeException thrown if this NodeSet is not of
401 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
410 * @throws RuntimeException thrown if this NodeSet is not of
417 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
427 * this NodeSet.
428 * @throws RuntimeException thrown if this NodeSet is not of
435 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
458 * nulls appearing in the source NodeSet will
461 * <p> In case you're wondering why this function is needed: NodeSet
467 * @param ns NodeSet whose members should be merged into this NodeSet.
468 * @throws RuntimeException thrown if this NodeSet is not of
471 public void addNodes(NodeSet ns)
475 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
485 * @throws RuntimeException thrown if this NodeSet is not of
492 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
513 * @throws RuntimeException thrown if this NodeSet is not of
520 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
541 * @throws RuntimeException thrown if this NodeSet is not of
548 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
568 * @throws RuntimeException thrown if this NodeSet is not of
576 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
629 * @throws RuntimeException thrown if this NodeSet is not of
636 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
703 * @throws RuntimeException thrown if this NodeSet is not of
710 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
736 * @throws RuntimeException thrown if this NodeSet is not of
744 XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_CANNOT_INDEX, null)); //"This NodeSet can not do indexing or counting functions!");
753 * @throws RuntimeException thrown if this NodeSet is not of
761 XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_CANNOT_INDEX, null)); //"This NodeSet can not do indexing or counting functions!");
848 NodeSet clone = (NodeSet) super.clone();
878 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
1105 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
1138 public void appendNodes(NodeSet nodes)
1198 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");
1261 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!");