Class XMLSupport
java.lang.Object
org.esa.snap.core.dataop.downloadable.XMLSupport
Created by IntelliJ IDEA.
User: lveci
Date: Jan 23, 2008
Time: 2:45:16 PM
To change this template use File | Settings | File Templates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic org.jdom2.ElementgetElement(org.jdom2.Element root, String name) static org.jdom2.TextgetElementText(org.jdom2.Element root) static String[]getStringList(org.jdom2.Element elem) static org.jdom2.DocumentLoadXML(InputStream inputStream) static org.jdom2.Documentstatic org.jdom2.DocumentLoadXMLFromResource(String filePath, Class theClass) static voidmetadataElementToDOMElement(MetadataElement metadataElem, org.jdom2.Element domElem) static void
-
Constructor Details
-
XMLSupport
public XMLSupport()
-
-
Method Details
-
SaveXML
- Throws:
IOException
-
LoadXML
- Throws:
IOException
-
LoadXML
- Throws:
IOException
-
LoadXMLFromResource
public static org.jdom2.Document LoadXMLFromResource(String filePath, Class theClass) throws IOException - Throws:
IOException
-
metadataElementToDOMElement
public static void metadataElementToDOMElement(MetadataElement metadataElem, org.jdom2.Element domElem) -
getAttrib
-
getElement
- Throws:
IOException
-
getElementText
- Throws:
IOException
-
getStringList
-