Java XML Node Value Check isText(final Node n)

Here you can find the source of isText(final Node n)

Description

is Text

License

LGPL

Declaration

public static boolean isText(final Node n) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import org.w3c.dom.Node;

import org.w3c.dom.Text;

public class Main {
    public static boolean isText(final Node n) {
        return n instanceof Text;
    }/*from w  w w  .  j  a  va  2s .c  om*/
}

Related

  1. isReturnTag(Node node)
  2. isSimpleValueProperty(Node node)
  3. isSubTagExist(Node node, String tagName)
  4. isSuppressJoinFailure(Node node)
  5. isSynchronousInvoke(Node invoke)
  6. isText(Node node)
  7. isText(Node node)
  8. isText(Node node)
  9. isValidNode(Node node, String name)