Top Constructors Methods
org.apache.xmpbox.xml

public final Class DomHelper

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, javax.xml.namespace.QName, org.apache.xmpbox.XmpConstants, org.apache.xmpbox.xml.XmpParsingException.ErrorType, org.w3c.dom.Attr, .Element, .NodeList

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static List<Element>
public static Element

Returns:

the first child element. Might be null.
getFirstChildElement
(Element
the parent element
description
)

Return the first child element of the element parameter.

public static QName
getQName(Element element)

public static Element
public static boolean
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DomHelperback to summary
private DomHelper()

Method Detail

getElementChildrenback to summary
public static List<Element> getElementChildren(Element description)
getFirstChildElementback to summary
public static Element getFirstChildElement(Element description)

Return the first child element of the element parameter. If there is no child, null is returned

Parameters
description:Element

the parent element

Returns:Element

the first child element. Might be null.

getQNameback to summary
public static QName getQName(Element element)
getUniqueElementChildback to summary
public static Element getUniqueElementChild(Element description) throws XmpParsingException
isParseTypeResourceback to summary
public static boolean isParseTypeResource(Element element)
isRdfDescriptionback to summary
public static boolean isRdfDescription(Element element)