Java XML Node Type getNodeType(Node node)

Here you can find the source of getNodeType(Node node)

Description

get Node Type

License

Open Source License

Declaration

private static short getNodeType(Node node) 

Method Source Code

//package com.java2s;

import org.w3c.dom.*;

public class Main {
    private static short getNodeType(Node node) {
        return (node != null ? node.getNodeType() : -1);
    }//from  w  ww  . j  a va 2s  .co m
}

Related

  1. countNodesBefore(Node node, short nodeType)
  2. countNodesBetween(Node node1, Node node2, short nodeType)
  3. getMethodArgValue(final Node typeNode, final String value)
  4. getNodeByType(Node root, int type)
  5. getNodesOfType( NamedNodeMap list, short type)
  6. getNodeType(Node node)
  7. getNodeType(Node node)
  8. getNodeTypeStr(int nodeType)
  9. getSubnodesOfType(Node in, int type)