|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.DocumentFactory
SchemaFactory purpose.
This is the main entry point into the XSI parsing routines.
Example Use:
Object x = DocumentFactory.getInstance(new URI("MyInstanceDocumentURI");
Field Summary | |
static java.lang.String |
VALIDATION_HINT
When this hint is contained and set to Boolean.FALSE, element ordering will not be validated. |
Constructor Summary | |
DocumentFactory()
|
Method Summary | |
static java.lang.Object |
getInstance(java.io.InputStream is,
java.util.Map hints,
java.util.logging.Level level)
Parses the instance data provided. |
static java.lang.Object |
getInstance(java.net.URI desiredDocument,
java.util.Map hints)
calls getInstance(URI,Level) with Level.WARNING |
static java.lang.Object |
getInstance(java.net.URI desiredDocument,
java.util.Map hints,
java.util.logging.Level level)
Parses the instance data provided. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String VALIDATION_HINT
Constructor Detail |
public DocumentFactory()
Method Detail |
public static java.lang.Object getInstance(java.net.URI desiredDocument, java.util.Map hints) throws org.xml.sax.SAXException
calls getInstance(URI,Level) with Level.WARNING
desiredDocument
- hints
- May be null.
org.xml.sax.SAXException
getInstance(URI, Map, Level)
public static java.lang.Object getInstance(java.net.URI desiredDocument, java.util.Map hints, java.util.logging.Level level) throws org.xml.sax.SAXException
Parses the instance data provided. This method assumes that the XML document is fully described using XML Schemas. Failure to be fully described as Schemas will result in errors, as opposed to a vid parse.
desiredDocument
- hints
- May be null.level
-
org.xml.sax.SAXException
public static java.lang.Object getInstance(java.io.InputStream is, java.util.Map hints, java.util.logging.Level level) throws org.xml.sax.SAXException
Parses the instance data provided. This method assumes that the XML document is fully described using XML Schemas. Failure to be fully described as Schemas will result in errors, as opposed to a vid parse.
is
- hints
- May be null.level
-
org.xml.sax.SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |