public class XmlObjectDescriptorParser
extends java.lang.Object
ObjectDescriptors contained within the file.| Constructor and Description |
|---|
XmlObjectDescriptorParser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ObjectDescriptor> |
parseDocument(org.w3c.dom.Document doc)
Adds the given document configuration.
|
java.util.List<ObjectDescriptor> |
parseDocument(java.io.File file)
Adds the given document configuration.
|
java.util.List<ObjectDescriptor> |
parseDocument(java.io.InputStream inputStream)
Adds the given document configuration.
|
public java.util.List<ObjectDescriptor> parseDocument(java.io.File file) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.xpath.XPathExpressionException, java.lang.ClassNotFoundException
file - the FileList of ObjectDescriptorsjava.io.IOException - on errorjavax.xml.parsers.ParserConfigurationException - on errororg.xml.sax.SAXException - on errorjavax.xml.xpath.XPathExpressionException - on errorjava.lang.ClassNotFoundException - on errorpublic java.util.List<ObjectDescriptor> parseDocument(java.io.InputStream inputStream) throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.xpath.XPathExpressionException, java.lang.ClassNotFoundException
inputStream - the InputStreamList of ObjectDescriptorsjava.io.IOException - on errorjavax.xml.parsers.ParserConfigurationException - on errororg.xml.sax.SAXException - on errorjavax.xml.xpath.XPathExpressionException - on errorjava.lang.ClassNotFoundException - on errorpublic java.util.List<ObjectDescriptor> parseDocument(org.w3c.dom.Document doc) throws javax.xml.xpath.XPathExpressionException, java.lang.ClassNotFoundException
doc - the documentList of ObjectDescriptorsjavax.xml.xpath.XPathExpressionException - on errorjava.lang.ClassNotFoundException - on errorCopyright © 2013. All Rights Reserved.