Class MCRXMLTransformer
java.lang.Object
org.mycore.datamodel.classifications2.utils.MCRXMLTransformer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MCRCategory
buildCategory
(String classID, Element e, MCRCategory parent) static MCRCategory
getCategory
(Document xml) static MCRLabel
-
Constructor Details
-
MCRXMLTransformer
public MCRXMLTransformer()
-
-
Method Details
-
getCategory
- Throws:
URISyntaxException
-
buildCategory
public static MCRCategory buildCategory(String classID, Element e, MCRCategory parent) throws URISyntaxException - Throws:
URISyntaxException
-
getLabels
public static SortedSet<MCRLabel> getLabels(List<Element> elements) throws NullPointerException, IllegalArgumentException -
getLabel
public static MCRLabel getLabel(Element labelElement) throws NullPointerException, IllegalArgumentException
-