public class MetadataUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<Element> |
getElementByPath(Element root,
org.dita.dost.util.DitaClass... path) |
static List<Element> |
getMetadataElements(Element root) |
static Optional<Element> |
getMetadataHolderElement(Element root)
Retrieve the elements that contain the meta information.
|
public static Optional<Element> getElementByPath(Element root, org.dita.dost.util.DitaClass... path)
public static Optional<Element> getMetadataHolderElement(Element root)
<prolog>
for map it is <topicmeta>
.root
- the root element of topic or mapCopyright © 2024. All rights reserved.