Package | Description |
---|---|
org.basex.build |
Classes for creating new database instances.
|
org.basex.build.csv | |
org.basex.build.html | |
org.basex.build.json | |
org.basex.build.text | |
org.basex.build.xml |
Classes for creating databases from XML documents.
|
org.basex.gui.text | |
org.basex.io |
Input and Output classes.
|
org.basex.io.in | |
org.basex.io.parse.csv | |
org.basex.io.parse.json | |
org.basex.query |
XQuery implementation.
|
org.basex.query.expr.ft |
XQuery Full Text expressions.
|
org.basex.query.func |
XQuery functions.
|
org.basex.query.func.http |
HTTP Functions.
|
org.basex.query.func.inspect |
Inspection Functions.
|
org.basex.query.up.primitives | |
org.basex.query.util.pkg | |
org.basex.query.value.item | |
org.basex.query.value.node | |
org.basex.util |
Utility classes.
|
org.basex.util.ft |
Full-text specific utility classes.
|
Modifier and Type | Field and Description |
---|---|
IO |
Parser.source
Source document or
null . |
Modifier and Type | Method and Description |
---|---|
static MemData |
MemBuilder.build(IO input)
Builds a main memory database instance.
|
static SingleParser |
Parser.singleParser(IO source,
MainOptions options,
String target)
Returns a parser instance, based on the current options.
|
static SAXWrapper |
Parser.xmlParser(IO source)
Returns an XML parser instance, using the Java default parser.
|
Constructor and Description |
---|
DirParser(IO source,
MainOptions options)
Constructor.
|
DirParser(IO source,
MainOptions options,
IOFile path)
Constructor.
|
Parser(IO source,
MainOptions options)
Constructor.
|
SingleParser(IO source,
MainOptions opts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static IOContent |
CsvParser.toXML(IO io,
CsvParserOptions options)
Converts a JSON document to XML.
|
Constructor and Description |
---|
CsvParser(IO source,
MainOptions opts)
Constructor.
|
Constructor and Description |
---|
HtmlParser(IO source,
MainOptions opts)
Constructor.
|
HtmlParser(IO source,
MainOptions opts,
HtmlOptions hopts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static IOContent |
JsonParser.toXML(IO io,
JsonParserOptions options)
Converts a JSON document to XML.
|
Constructor and Description |
---|
JsonParser(IO source,
MainOptions opts)
Constructor.
|
JsonParser(IO source,
MainOptions opts,
JsonParserOptions jopts)
Constructor.
|
Constructor and Description |
---|
TextParser(IO source,
MainOptions opts)
Constructor.
|
Constructor and Description |
---|
SAXWrapper(IO source,
MainOptions opts)
Constructor.
|
XMLParser(IO source,
MainOptions opts)
Constructor.
|
XMLParser(IO source,
MainOptions opts,
boolean frag)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TextPanel.setSyntax(IO file,
boolean opened)
Sets a syntax highlighter, based on the file format.
|
Modifier and Type | Class and Description |
---|---|
class |
IOContent
IO reference, representing a byte array. |
class |
IOFile
IO reference, representing a local file or directory path. |
class |
IOStream
IO stream. |
class |
IOUrl
IO reference, representing a URL. |
Modifier and Type | Method and Description |
---|---|
static IO |
IO.get(String location)
Returns a class instance for the specified location string.
|
IO |
IOUrl.merge(String path) |
IO |
IOFile.merge(String path) |
IO |
IO.merge(String in)
Merges two paths.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IOFile.eq(IO io) |
boolean |
IO.eq(IO io)
Compares the filename of the specified IO reference.
|
Constructor and Description |
---|
Zip(IO file)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IO |
XMLInput.io()
Returns the IO reference.
|
IO |
BufferInput.io()
Returns the IO reference or
null . |
Constructor and Description |
---|
BufferInput(IO io)
Constructor.
|
DataInput(IO io)
Constructor.
|
NewlineInput(IO in)
Constructor.
|
TextInput(IO io)
Constructor.
|
XMLInput(IO io)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Item |
CsvConverter.convert(IO input)
Converts the specified input to XML.
|
Modifier and Type | Method and Description |
---|---|
Item |
JsonConverter.convert(IO input)
Converts the specified input to XML.
|
Modifier and Type | Field and Description |
---|---|
HashMap<String,IO> |
QueryContext.stop
Cached stop word files.
|
HashMap<String,IO> |
QueryContext.thes
Cached thesaurus files.
|
Modifier and Type | Method and Description |
---|---|
IO |
StaticContext.baseIO()
Returns an IO representation of the static base URI or
null . |
static IO |
QueryResources.checkPath(QueryInput input,
IO baseIO,
InputInfo info)
Returns a valid reference if a file is found in the specified path or the static base uri.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryResources.addCollection(String name,
String[] paths,
IO baseIO)
Adds a collection with the specified paths.
|
void |
QueryResources.addDoc(String name,
String path,
IO baseIO)
Adds a document with the specified path.
|
static IO |
QueryResources.checkPath(QueryInput input,
IO baseIO,
InputInfo info)
Returns a valid reference if a file is found in the specified path or the static base uri.
|
Value |
QueryResources.collection(QueryInput qi,
IO baseIO,
InputInfo info)
Evaluates
fn:collection() : opens an existing database collection, or creates
a new data reference. |
DBNode |
QueryResources.doc(QueryInput qi,
IO baseIO,
InputInfo info)
Evaluates
fn:doc() : opens an existing database document, or creates a new
database and node. |
Constructor and Description |
---|
Thesaurus(IO file,
byte[] res,
long min,
long max,
Context ctx)
Reads a thesaurus file.
|
Thesaurus(IO file,
Context ctx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected IO |
StandardFunc.checkPath(Expr path,
QueryContext qc)
Returns a valid reference if a file is found in the specified path or the static base uri.
|
Modifier and Type | Method and Description |
---|---|
static Value |
HttpPayload.value(IO in,
MainOptions opts,
String ctype,
String ext)
Returns an XQuery value for the specified content type.
|
Modifier and Type | Method and Description |
---|---|
abstract FElem |
Inspect.parse(IO io)
Parses a module and returns an inspection element.
|
Modifier and Type | Field and Description |
---|---|
IO |
NewInput.io
Input reference.
|
Modifier and Type | Method and Description |
---|---|
Package |
PkgParser.parse(IO io)
Parses package descriptor.
|
Constructor and Description |
---|
B64Stream(IO input,
QueryError error)
Constructor.
|
StrStream(IO input,
String encoding,
QueryError error,
QueryContext qc)
Constructor.
|
Constructor and Description |
---|
DBNode(IO input)
Constructor, specifying an XML input reference.
|
Modifier and Type | Field and Description |
---|---|
IO |
QueryInput.input
Input reference.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StemDir.read(IO fl)
Reads a stop words file.
|
boolean |
StopWords.read(IO file,
boolean exclude)
Reads a stop words file.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.