org.geotools.xml
Interface Parser.Properties

Enclosing class:
Parser

Deprecated.

public static interface Parser.Properties

Properties used to control the parser behaviour.

Parser properties are set in the configuration of a parser.

 Configuration configuration = new ....
 configuration.getProperties().add( Parser.Properties.PARSE_UNKNOWN_ELEMENTS );
 configuration.getProperties().add( Parser.Properties.PARSE_UNKNOWN_ATTRIBUTES );
 

Author:
Justin Deoliveira, The Open Planning Project

Field Summary
static QName IGNORE_SCHEMA_LOCATION
          Deprecated. use Parser.setStrict(boolean)
static QName PARSE_UNKNOWN_ATTRIBUTES
          Deprecated. use Parser.setStrict(boolean)
static QName PARSE_UNKNOWN_ELEMENTS
          Deprecated. use Parser.setStrict(boolean)
 

Field Detail

PARSE_UNKNOWN_ELEMENTS

static final QName PARSE_UNKNOWN_ELEMENTS
Deprecated. use Parser.setStrict(boolean)
If set, the parser will continue to parse when it finds an element and cannot determine its type.


PARSE_UNKNOWN_ATTRIBUTES

static final QName PARSE_UNKNOWN_ATTRIBUTES
Deprecated. use Parser.setStrict(boolean)
If set, the parser will continue to parse when it finds an attribute and cannot determine its type.


IGNORE_SCHEMA_LOCATION

static final QName IGNORE_SCHEMA_LOCATION
Deprecated. use Parser.setStrict(boolean)
If set, the parser will ignore the schemaLocation attribute of an instance document.



Copyright © 1996-2009 Geotools. All Rights Reserved.