org.basex.build.file
Class ParserProp

java.lang.Object
  extended by org.basex.core.AProp
      extended by org.basex.build.file.ParserProp
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>

public final class ParserProp
extends AProp

This class contains parser properties.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Field Summary
static java.lang.Object[] ENCODING
          Parser option: encoding.
static java.lang.Object[] FLAT
          Parser option: flat.
static java.lang.Object[] FORMAT
          Parser option: XML format.
static java.lang.Object[] HEADER
          Parser option: header line.
static java.lang.Object[] JSON_SPEC
          Parser option: JSON spec.
static java.lang.Object[] JSON_UNESC
          Parser option: JSON unescape.
static java.lang.Object[] JSONML
          Parser option: jsonml format.
static java.lang.Object[] LINES
          Parser option: line.
static java.lang.Object[] SEPARATOR
          Parser option: column separator.
 
Fields inherited from class org.basex.core.AProp
props
 
Constructor Summary
ParserProp()
          Constructor.
ParserProp(java.lang.String s)
          Constructor, specifying initial properties.
 
Method Summary
 
Methods inherited from class org.basex.core.AProp
get, get, getSystem, getSystem, invert, is, iterator, num, nums, parse, props, sameAs, set, set, set, set, set, set, setObject, setSystem, setSystem, setSystem, similar, strings, toString, unknown, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPARATOR

public static final java.lang.Object[] SEPARATOR
Parser option: column separator.


HEADER

public static final java.lang.Object[] HEADER
Parser option: header line.


FORMAT

public static final java.lang.Object[] FORMAT
Parser option: XML format.


LINES

public static final java.lang.Object[] LINES
Parser option: line.


FLAT

public static final java.lang.Object[] FLAT
Parser option: flat.


ENCODING

public static final java.lang.Object[] ENCODING
Parser option: encoding.


JSONML

public static final java.lang.Object[] JSONML
Parser option: jsonml format.


JSON_SPEC

public static final java.lang.Object[] JSON_SPEC
Parser option: JSON spec.


JSON_UNESC

public static final java.lang.Object[] JSON_UNESC
Parser option: JSON unescape.

Constructor Detail

ParserProp

public ParserProp()
Constructor.


ParserProp

public ParserProp(java.lang.String s)
           throws java.io.IOException
Constructor, specifying initial properties.

Parameters:
s - property string. Properties are separated with commas (,), key/values with the equality character (=).
Throws:
java.io.IOException - I/O exception