public final class DomParseUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
allText(Element elem) |
static String |
allText(Element elem,
boolean trim) |
static String |
allTextFromElement(Element elem)
Deprecated.
use allText(Element elem)
|
static String |
allTextFromElement(Element elem,
boolean trim)
Deprecated.
use allText(Element elem, boolean trim)
|
static String[] |
allTextFromImmediateChildElements(Element parent,
String tagName) |
static String[] |
allTextFromImmediateChildElements(Element parent,
String tagName,
boolean trim) |
static String |
allTextFromUniqueChild(Element elem,
String childTagName) |
static String |
allTextFromUniqueChild(Element elem,
String childTagName,
boolean trim) |
static String |
allTextFromUniqueImmediateChild(Element elem,
String childTagName) |
static String |
attrValFromElement(Element element,
String attrName)
Deprecated.
use Element.getAttribute(String val)
|
static NodeList |
getImmediateChildElementsByTagName(Element parent,
String tagName)
Deprecated.
use immediateChildrenByTagName( Element parent, String tagName )
|
static NodeList |
immediateChildElementsByTagName(Element parent,
String tagName) |
static Element |
uniqueChild(Element elem,
String childTagName) |
static Element |
uniqueChildByTagName(Element elem,
String childTagName)
Deprecated.
use uniqueChild(Element elem, String childTagName)
|
static Element |
uniqueImmediateChild(Element elem,
String childTagName) |
static Element |
uniqueImmediateChildByTagName(Element elem,
String childTagName)
Deprecated.
use uniqueImmediateChild(Element elem, String childTagName)
|
public static String allTextFromUniqueChild(Element elem, String childTagName) throws DOMException
DOMException
public static String allTextFromUniqueChild(Element elem, String childTagName, boolean trim) throws DOMException
DOMException
public static Element uniqueChild(Element elem, String childTagName) throws DOMException
DOMException
public static Element uniqueChildByTagName(Element elem, String childTagName) throws DOMException
DOMException
public static String allText(Element elem) throws DOMException
DOMException
public static String allText(Element elem, boolean trim) throws DOMException
DOMException
public static String allTextFromElement(Element elem) throws DOMException
DOMException
public static String allTextFromElement(Element elem, boolean trim) throws DOMException
DOMException
public static String[] allTextFromImmediateChildElements(Element parent, String tagName) throws DOMException
DOMException
public static String[] allTextFromImmediateChildElements(Element parent, String tagName, boolean trim) throws DOMException
DOMException
public static NodeList immediateChildElementsByTagName(Element parent, String tagName) throws DOMException
DOMException
public static NodeList getImmediateChildElementsByTagName(Element parent, String tagName) throws DOMException
DOMException
public static String allTextFromUniqueImmediateChild(Element elem, String childTagName) throws DOMException
DOMException
public static Element uniqueImmediateChild(Element elem, String childTagName) throws DOMException
DOMException
public static Element uniqueImmediateChildByTagName(Element elem, String childTagName) throws DOMException
DOMException
public static String attrValFromElement(Element element, String attrName) throws DOMException
DOMException
Copyright © 2017 com.mchange. All rights reserved.