|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.xml.ValidatingDocumentBuilder
public class ValidatingDocumentBuilder
Validating Document Builder
[ 1] document ::= prolog element Misc*
[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?
[23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'
[24] VersionInfo ::= S 'version' Eq ("'" VersionNum "'" | '"' VersionNum '"')
[25] Eq ::= S? '=' S?
[26] VersionNum ::= '1.0'
[27] Misc ::= Comment | PI | S
| Constructor Summary | |
|---|---|
protected |
ValidatingDocumentBuilder()
Constructor |
| Method Summary | |
|---|---|
protected int |
getDocumentBuilderFactoryIndex(URL url)
Test whether a document is DTD or schmea based |
static ValidatingDocumentBuilder |
newInstance()
Create a validating document builder instance. |
Document |
parse(URL url)
Parse a document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ValidatingDocumentBuilder()
throws ParserConfigurationException
ParserConfigurationException| Method Detail |
|---|
public static ValidatingDocumentBuilder newInstance()
throws ParserConfigurationException
ParserConfigurationException
public Document parse(URL url)
throws ParserConfigurationException,
SAXException,
IOException
url - the document's url
ParserConfigurationException
SAXException
IOException
protected int getDocumentBuilderFactoryIndex(URL url)
throws IOException
url - the document's url
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||