| java.lang.Object org.ow2.easybeans.util.xml.DocumentParser
DocumentParser | final public class DocumentParser (Code) | | Allows to parse an xml file.
author: Florent Benoit |
Method Summary | |
public static Document | getDocument(URL url, boolean isValidating, EntityResolver entityResolver) Builds a new Document for a given xml file.
Parameters: url - the URL of the the XML file. Parameters: isValidating - validate or not the xml file ? Parameters: entityResolver - the entityResolver used to validate document (ifvalidating = true) throws: DocumentParserException - if creating of builder fails or parsingfails. |
getDocument | public static Document getDocument(URL url, boolean isValidating, EntityResolver entityResolver) throws DocumentParserException(Code) | | Builds a new Document for a given xml file.
Parameters: url - the URL of the the XML file. Parameters: isValidating - validate or not the xml file ? Parameters: entityResolver - the entityResolver used to validate document (ifvalidating = true) throws: DocumentParserException - if creating of builder fails or parsingfails. an application object. |
|
|