public final class DomHelper
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
DomHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<org.w3c.dom.Element> |
getElementChildren(org.w3c.dom.Element description) |
static org.w3c.dom.Element |
getFirstChildElement(org.w3c.dom.Element description)
Return the first child element of the element parameter.
|
static javax.xml.namespace.QName |
getQName(org.w3c.dom.Element element) |
static org.w3c.dom.Element |
getUniqueElementChild(org.w3c.dom.Element description) |
static boolean |
isParseTypeResource(org.w3c.dom.Element element) |
static boolean |
isRdfDescription(org.w3c.dom.Element element) |
public static org.w3c.dom.Element getUniqueElementChild(org.w3c.dom.Element description) throws XmpParsingException
XmpParsingException
public static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Element description) throws XmpParsingException
description
- XmpParsingException
public static java.util.List<org.w3c.dom.Element> getElementChildren(org.w3c.dom.Element description) throws XmpParsingException
XmpParsingException
public static javax.xml.namespace.QName getQName(org.w3c.dom.Element element)
public static boolean isRdfDescription(org.w3c.dom.Element element)
public static boolean isParseTypeResource(org.w3c.dom.Element element)