ILSParserFilter.AcceptNode(INode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method will be called by the parser at the completion of the parsing of each node.
[Android.Runtime.Register("acceptNode", "(Lorg/w3c/dom/Node;)S", "GetAcceptNode_Lorg_w3c_dom_Node_Handler:Org.W3c.Dom.LS.ILSParserFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public short AcceptNode (Org.W3c.Dom.INode? nodeArg);
[<Android.Runtime.Register("acceptNode", "(Lorg/w3c/dom/Node;)S", "GetAcceptNode_Lorg_w3c_dom_Node_Handler:Org.W3c.Dom.LS.ILSParserFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AcceptNode : Org.W3c.Dom.INode -> int16
Parameters
- nodeArg
- INode
The newly constructed element. At the time this method is called, the element is complete - it has all of its children (and their children, recursively) and attributes, and is attached as a child to its parent.
Returns
<ul> <li> <code>FILTER_ACCEPT</code> if this <code>Node</code> should be included in the DOM document being built. </li> <li> <code>FILTER_REJECT</code> if the <code>Node</code> and all of its children should be rejected. </li> <li> <code>FILTER_SKIP</code> if the <code>Node</code> should be skipped and the <code>Node</code> should be replaced by all the children of the <code>Node</code>. </li> <li> <code>FILTER_INTERRUPT</code> if the filter wants to stop the processing of the document. Interrupting the processing of the document does no longer guarantee that the resulting DOM tree is XML well-formed. The <code>Node</code> is accepted and will be the last completely parsed node. </li> </ul>
- Attributes
Remarks
Java documentation for org.w3c.dom.ls.LSParserFilter.acceptNode(org.w3c.dom.Node).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.