/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | DOMSerializer.java | 65 * Serializes the DOM node. Throws an exception only if an I/O 70 * @param node the DOM node to serialize 73 public void serialize(Node node) throws IOException; argument
|
H A D | DOM3Serializer.java | 117 * Serializes the Level 3 DOM node. Throws an exception only if an I/O
122 * @param node the Level 3 DOM node to serialize
125 public void serializeDOM3(Node node) throws IOException;
argument
|
H A D | SerializationHandler.java | 66 * Notify that the serializer should take this DOM node as input to be 69 * @param node the DOM node to be serialized. 72 public void serialize(Node node) throws IOException; argument
|
H A D | TreeWalker.java | 236 private final void dispatachChars(Node node) argument 241 this.m_Serializer.characters(node); 245 String data = ((Text) node).getData(); 251 * Start processing given node 254 * @param node Node to process 258 protected void startNode(Node node) throws org.xml.sax.SAXException argument 267 // ((NodeConsumer) m_contentHandler).setOriginatingNode(node); 271 if (node instanceof Locator) 273 Locator loc = (Locator)node; 285 switch (node 448 endNode(Node node) argument [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/transform/dom/ |
H A D | DOMResult.java | 28 * <p>If no output DOM source is set, the transformation will create a Document node as the holder for the result of the transformation, 45 * <p><code>node</code>, 57 * <p>Use a DOM node to create a new output target.</p> 59 * <p>In practice, the node should be 60 * a {@link org.w3c.dom.Document} node, 61 * a {@link org.w3c.dom.DocumentFragment} node, or 62 * a {@link org.w3c.dom.Element} node. 63 * In other words, a node that accepts children.</p> 69 * @param node The DOM node tha 71 DOMResult(Node node) argument 91 DOMResult(Node node, String systemId) argument 126 DOMResult(Node node, Node nextSibling) argument 175 DOMResult(Node node, Node nextSibling, String systemId) argument 216 setNode(Node node) argument 337 private Node node = null; field in class:DOMResult [all...] |
H A D | DOMSource.java | 44 private Node node; field in class:DOMSource 61 * no DOM source is set using {@link #setNode(Node node)} , then the 71 * Create a new input source with a DOM node. The operation 72 * will be applied to the subtree rooted at this node. In XSLT, 75 * from the root node also. 77 * @param n The DOM node that will contain the Source tree. 84 * Create a new input source with a DOM node, and with the 87 * @param node The DOM node that will contain the Source tree. 88 * @param systemID Specifies the base URI associated with node 90 DOMSource(Node node, String systemID) argument 100 setNode(Node node) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
H A D | LeafNodeImpl.java | 65 boolean isParentOf(Node node) { argument
|
H A D | NodeListImpl.java | 47 void add(NodeImpl node) { argument 48 children.add(node);
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/ |
H A D | ClonerToResultTree.java | 31 * Class used to clone a node, possibly including its children to 40 // * TODO: Fix or figure out node clone failure! 43 // * @param node The node to clone 49 // public void cloneToResultTree(int node, boolean shouldCloneAttributes) 56 // DTM dtm = xctxt.getDTM(node); 58 // int type = dtm.getNodeType(node); 62 // dtm.dispatchCharactersEvents(node, m_rth, false); 76 // m_rth.addAttributes(node); 77 // m_rth.processNSDecls(node, typ 132 cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes) argument [all...] |
H A D | TreeWalker2Result.java | 65 * @param pos Start node for traversal 78 * End processing of given node 81 * @param node Node we just finished processing 85 protected void endNode(int node) throws org.xml.sax.SAXException argument 87 super.endNode(node); 88 if(DTM.ELEMENT_NODE == m_dtm.getNodeType(node)) 95 * Start traversal of the tree at the given node 98 * @param node Starting node for traversal 102 protected void startNode(int node) throw argument [all...] |
H A D | Counter.java | 34 * the node count is based on its position in the cache list 48 * from. In other words, the count of a given node 49 * in the m_countNodes vector is node position + 60 * The node from where the counting starts. This is needed to 61 * find a counter if the node being counted is not immediatly 105 * Try and find a node that was previously counted. If found, 109 * @param node The node to be counted. 111 * @return The count of the node, or -1 if not found. 113 int getPreviouslyCounted(XPathContext support, int node) argument [all...] |
H A D | CountersTable.java | 115 * Count forward until the given node is found, or until 120 * @param node The node to count. 122 * @return The node count, or 0 if not found. 126 public int countNode(XPathContext support, ElemNumber numberElem, int node) argument 134 // XPath countMatchPattern = numberElem.getCountMatchPattern(support, node); 136 int target = numberElem.getTargetNode(support, node); 154 // of forward counting by one, this will mean a single node copy from 165 // since the original target node was already checked in the
|
H A D | KeyTable.java | 40 * Table of element keys, keyed by document node. An instance of this 41 * class is keyed by a Document node that should be matched with the 109 * Given a valid element key, return the corresponding node list. 113 * @return a set of nodes referenced by the key named <CODE>name</CODE> and the reference <CODE>ref</CODE>. If no node is referenced by this key, an empty node set is returned. 119 // clone wiht reset the node set 138 // Root cannot be set on non-iterated node sets. Ignore it. 233 * Add an association between a ref and a node in the m_refsTable. 236 * @param ref the value of the use clause of the current key for the given node 237 * @param node th 239 addValueInRefsTable(XPathContext xctxt, XMLString ref, int node) argument [all...] |
H A D | NodeSorter.java | 54 * so it can know how to get the node data according to 65 * Given a vector of nodes, sort each node according to 86 // Create a vector of node compare elements 115 * TODO: Optimize compare -- cache the getStringExpr results, key by m_selectPat + hash of node. 117 * @param n1 First node to use in compare 118 * @param n2 Second node to use in compare 444 // * @param i Index of first node to swap 445 // * @param i Index of second node to swap 450 // int node = (Node) v.elementAt(i); 453 // v.setElementAt(node, 491 NodeCompareElem(int node) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/ |
H A D | XNodeSetForDOM.java | 40 public XNodeSetForDOM(Node node, DTMManager dtmMgr) argument 43 m_origObj = node; 44 int dtmHandle = dtmMgr.getDTMHandleFromNode(node);
|
/dalvik/libcore/xml/src/test/java/tests/xml/ |
H A D | NodeTest.java | 57 for (Node node : flattenSubtree(documentElement)) { 58 if (node.getNodeType() == Node.ELEMENT_NODE 59 || node.getNodeType() == Node.DOCUMENT_NODE) { 60 assertFileUriEquals(file, node.getBaseURI()); 62 assertNull("Unexpected base URI for " + node, node.getBaseURI()); 66 // TODO: test other node types 83 private void traverse(Node node, List<Node> sink) { argument 84 sink.add(node); 86 NodeList children = node [all...] |
H A D | SimpleBuilderTest.java | 56 private String getTextContent(Node node) { argument 57 String result = (node instanceof Text ? ((Text) node).getData() : ""); 59 Node child = node.getFirstChild(); 113 Node node = list.item(i); 115 if (node instanceof ProcessingInstruction) { 116 proinst = proinst + node.getNodeValue(); 117 } else if (node instanceof Comment) { 118 comment = comment + node.getNodeValue();
|
/dalvik/libcore/prefs/src/main/java/java/util/prefs/ |
H A D | PreferenceChangeEvent.java | 43 private final Preferences node; field in class:PreferenceChangeEvent 63 node = p; 94 return node;
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | UUID.java | 54 private transient long node; field in class:UUID 112 // setup node field 113 node = (leastSigBits & 0x0000FFFFFFFFFFFFL); 337 * The node value of the version 1, variant 2 UUID as per <a 344 public long node() { method in class:UUID 348 return node; 434 * clock-seq-low "-" node 440 * node = 6hexOctet
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ |
H A D | DTMAxisIterator.java | 24 * This class iterates over a single XPath Axis, and returns node handles. 33 * Get the next node in the iteration. 35 * @return The next node handle in the iteration, or END. 41 * Resets the iterator to the last start node. 55 * @return The position of the current node in the set, as defined by XPath. 60 * Remembers the current node for the next call to gotoMark(). 65 * Restores the current node remembered by setMark(). 73 * @param node Sets the root of the iteration. 77 public DTMAxisIterator setStartNode(int node); argument 83 * @return The root node o [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | DTMAxisIteratorBase.java | 32 /** The position of the last node within the iteration, as defined by XPath. 33 * Note that this is _not_ the node's handle within the DTM. Also, don't 38 /** The position of the current node within the iteration, as defined by XPath. 39 * Note that this is _not_ the node's handle within the DTM! 43 /** The position of the marked node within the iteration; 54 /** True if the start node should be considered part of the iteration. 69 * @return The root node of the iteration. 77 * @return A DTMAxisIterator which has been reset to the start node, 95 * Set the flag to include the start node in the iteration. 111 /** Returns the position of the last node withi 211 returnNode(final int node) argument [all...] |
H A D | DTMTreeWalker.java | 99 * (postorder) are invoked for each node as we traverse over them, 100 * with the result that the node is written out to m_contentHandler. 149 * (postorder) are invoked for each node as we traverse over them, 150 * with the result that the node is written out to m_contentHandler. 201 private final void dispatachChars(int node) argument 204 m_dtm.dispatchCharactersEvents(node, m_contentHandler, false); 208 * Start processing given node 211 * @param node Node to process 215 protected void startNode(int node) throws org.xml.sax.SAXException argument 221 // ((NodeConsumer) m_contentHandler).setOriginatingNode(node); 363 endNode(int node) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/ |
H A D | DOM3SerializerImpl.java | 97 * Serializes the Level 3 DOM node by creating an instance of DOM3TreeWalker
103 * @param node the Level 3 DOM node to serialize
106 public void serializeDOM3(Node node) throws IOException {
argument 111 walker.traverse(node);
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
H A D | DOM2Helper.java | 51 * Check node to see if it was created by a DOM implementation 56 * @param node The node to be tested. 58 * @throws TransformerException if the node is not one which this 60 * the node is compatable. 63 public void checkNode(Node node) throws TransformerException argument 66 // if(!(node instanceof org.apache.xerces.dom.NodeImpl)) 67 // throw new TransformerException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_XERCES_CANNOT_HANDLE_NODES, new Object[]{((Object)node).getClass()})); //"DOM2Helper can not handle nodes of type" 68 //+((Object)node).getClass()); 92 * @param doc The DOM Document node fo 262 getParentOfNode(Node node) argument [all...] |
H A D | TreeWalker.java | 267 private final void dispatachChars(Node node) argument 272 ((org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.CharacterNodeHandler)m_contentHandler).characters(node); 276 String data = ((Text) node).getData(); 282 * Start processing given node 285 * @param node Node to process 289 protected void startNode(Node node) throws org.xml.sax.SAXException argument 294 ((NodeConsumer) m_contentHandler).setOriginatingNode(node); 297 if (node instanceof Locator) 299 Locator loc = (Locator)node; 311 switch (node 453 endNode(Node node) argument [all...] |