Java XML CData isCDataOrText(int nodeType)

Here you can find the source of isCDataOrText(int nodeType)

Description

is C Data Or Text

License

Open Source License

Declaration

private static boolean isCDataOrText(int nodeType) 

Method Source Code

//package com.java2s;

import org.w3c.dom.Node;

public class Main {
    private static boolean isCDataOrText(int nodeType) {
        return Node.CDATA_SECTION_NODE == nodeType || Node.TEXT_NODE == nodeType;
    }// w  w  w.j  a v  a2  s. com
}

Related

  1. getCharacterData(Element el)
  2. getCharacterDataFromElement(Element e)
  3. getCharacterDataFromElement(Element e)
  4. getCharacterDataFromElement(Element e)
  5. getCharacterDataFromElementWithKey(final Element element, final String key)
  6. parseCdataSection(Node cdataParentNode)
  7. removeEmptyCDATASections(Node node)
  8. setTextValue(Node node, String value, boolean cdata)
  9. writeRcData(Node child, Writer out)