public class XMLHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
XMLHelper.EntityType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_CLASS |
static java.lang.String |
ELEMENT_TITLE_CACHE |
static java.lang.String |
ELEMENT_UUID |
Constructor and Description |
---|
XMLHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addContent(org.jdom.Element elementToAdd,
org.jdom.Element parentElement)
Adds an element as a child to another element
|
static void |
addContent(org.jdom.Element elementToAdd,
java.lang.String childElementName,
org.jdom.Element parentElement)
Adds an element to the child element of another element using the given name to select the child element
|
static java.lang.String |
getClazz(org.jdom.Element element) |
static XMLHelper.EntityType |
getEntityType(org.jdom.Element element) |
static org.jdom.Element |
getTaxonFromTaxonNode(org.jdom.Element taxonNodeElement) |
static java.lang.String |
getTitleCache(org.jdom.Element element) |
static java.lang.String |
getTitleCacheOfTaxonNode(org.jdom.Element treeNodeElement) |
static java.util.UUID |
getUuid(org.jdom.Element element) |
public static final java.lang.String ELEMENT_CLASS
public static final java.lang.String ELEMENT_UUID
public static final java.lang.String ELEMENT_TITLE_CACHE
public static XMLHelper.EntityType getEntityType(org.jdom.Element element)
public static java.util.UUID getUuid(org.jdom.Element element)
public static java.lang.String getClazz(org.jdom.Element element)
public static java.lang.String getTitleCache(org.jdom.Element element)
public static java.lang.String getTitleCacheOfTaxonNode(org.jdom.Element treeNodeElement)
public static org.jdom.Element getTaxonFromTaxonNode(org.jdom.Element taxonNodeElement)
public static void addContent(org.jdom.Element elementToAdd, org.jdom.Element parentElement)
elementToAdd
- parentElement
- public static void addContent(org.jdom.Element elementToAdd, java.lang.String childElementName, org.jdom.Element parentElement)
elementToAdd
- childElementName
- parentElement
- Copyright © 2007-2020 EDIT. All Rights Reserved.