r01f.xml
Class XMLUtils

java.lang.Object
  extended by r01f.xml.XMLUtils

public final class XMLUtils
extends java.lang.Object

Utilidades XML


Field Summary
static java.lang.String HEADER_ENCODING_ISO_8859_1
           
static java.lang.String HEADER_ENCODING_ISO_UTF8
           
 
Constructor Summary
XMLUtils()
           
 
Method Summary
static boolean isElementNode(org.w3c.dom.Node n)
          Decide if the node is a normal node
static boolean isTextNode(org.w3c.dom.Node n)
          Decide if the node is text, and so must be handled specially
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_ENCODING_ISO_8859_1

public static final java.lang.String HEADER_ENCODING_ISO_8859_1
See Also:
Constant Field Values

HEADER_ENCODING_ISO_UTF8

public static final java.lang.String HEADER_ENCODING_ISO_UTF8
See Also:
Constant Field Values
Constructor Detail

XMLUtils

public XMLUtils()
Method Detail

isTextNode

public static boolean isTextNode(org.w3c.dom.Node n)
Decide if the node is text, and so must be handled specially

Parameters:
n - the node
Returns:
true if it's a text node

isElementNode

public static boolean isElementNode(org.w3c.dom.Node n)
Decide if the node is a normal node

Parameters:
n - the node
Returns:
true if it's a normal node