public class DataoneEMLParser extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
protected static TreeSet<String> |
supportedFormatIdentifiers |
protected static String |
supportedNamespaceSummary |
Modifier and Type | Method and Description |
---|---|
static DataoneEMLParser |
getInstance()
singleton accessor
|
EMLDocument |
parseDocument(InputStream is)
parse an eml document and return any distribution urls
|
protected static org.apache.commons.logging.Log log
protected static String supportedNamespaceSummary
public static DataoneEMLParser getInstance()
public EMLDocument parseDocument(InputStream is) throws ParserConfigurationException, IOException, SAXException, XPathExpressionException
is
- XPathExpressionException
NotFound
ServiceFailure
NotImplemented
ParserConfigurationException
IOException
SAXException
Copyright © 2014. All Rights Reserved.