Package org.apache.xmpbox.xml
Class DomHelper
java.lang.Object
org.apache.xmpbox.xml.DomHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElementChildren(Element description) static ElementgetFirstChildElement(Element description) Return the first child element of the element parameter.static QNamestatic ElementgetUniqueElementChild(Element description) static booleanisParseTypeResource(Element element) static booleanisRdfDescription(Element element) Deprecated.This will be removed in 4.0.
-
Constructor Details
-
DomHelper
private DomHelper()
-
-
Method Details
-
getUniqueElementChild
- Throws:
XmpParsingException
-
getFirstChildElement
Return the first child element of the element parameter. If there is no child, null is returned- Parameters:
description- the parent element- Returns:
- the first child element. Might be null.
-
getElementChildren
-
getQName
-
isRdfDescription
Deprecated.This will be removed in 4.0.- Parameters:
element-- Returns:
-
isParseTypeResource
-