| java.lang.Object org.geotools.xml.DocumentFactory
DocumentFactory | public class DocumentFactory (Code) | | SchemaFactory purpose.
This is the main entry point into the XSI parsing routines.
Example Use:
Object x = DocumentFactory.getInstance(new URI("MyInstanceDocumentURI");
author: dzwiers, Refractions Research, Inc. http://www.refractions.net author: $Author:$ (last modification) version: $Id: DocumentFactory.java 22347 2006-10-24 01:57:23Z jdeolive $ |
Field Summary | |
final public static String | VALIDATION_HINT When this hint is contained and set to Boolean.FALSE, element ordering will not
be validated. |
VALIDATION_HINT | final public static String VALIDATION_HINT(Code) | | When this hint is contained and set to Boolean.FALSE, element ordering will not
be validated. This key may also affect data validation within the parse routines.
The inherent safety of the resulting objects is weekend by turning this param to false.
|
getInstance | public static Object getInstance(URI desiredDocument, Map hints, Level level) throws SAXException(Code) | |
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.
Parameters: desiredDocument - Parameters: hints - May be null. Parameters: level - Object throws: SAXException - |
getInstance | public static Object getInstance(InputStream is, Map hints, Level level) throws SAXException(Code) | |
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.
Parameters: is - Parameters: hints - May be null. Parameters: level - Object throws: SAXException - |
|
|