|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jdom.input.AbstractBuilder
|
+--org.jdom.input.SAXBuilder
SAXBuilder builds a JDOM tree using SAX.
| Constructor Summary | |
SAXBuilder()
This creates a SAXBuilder with
the default SAX driver and no validation. |
|
SAXBuilder(boolean validate)
This sets validation for the Builder. |
|
SAXBuilder(java.lang.String saxDriverClass)
This sets the SAX Driver class to use, and leaves validation off. |
|
SAXBuilder(java.lang.String saxDriverClass,
boolean validate)
This allows the validation features to be turned on/off in the builder at creation, as well as set the DOM Adapter class to use. |
|
| Method Summary | |
Document |
build(java.io.InputStream in)
This builds a document from the supplied input stream. |
| Methods inherited from class org.jdom.input.AbstractBuilder |
build,
build |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SAXBuilder(java.lang.String saxDriverClass,
boolean validate)
This allows the validation features to be turned on/off in the builder at creation, as well as set the DOM Adapter class to use.
saxDriverClass - String name of SAX Driver
to use for parsing.validate - boolean indicating if
validation should occur.public SAXBuilder(java.lang.String saxDriverClass)
This sets the SAX Driver class to use, and leaves validation off.
saxDriverClass - String name of SAX Driver
to use for parsing.public SAXBuilder(boolean validate)
This sets validation for the Builder.
validate - boolean indicating if
validation should occur.public SAXBuilder()
This creates a SAXBuilder with
the default SAX driver and no validation.
| Method Detail |
public Document build(java.io.InputStream in)
throws JDOMException
This builds a document from the supplied input stream.
in - InputStream to read from.Document - resultant Document object.JDOMException - when errors occur in
parsing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||