public abstract class Inspect extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
DOC_DESCRIPTION
Documentation: description tag.
|
static byte[] |
DOC_PARAM
Documentation: param tag.
|
static byte[] |
DOC_RETURN
Documentation: return tag.
|
static byte[][] |
DOC_TAGS
Supported documentation tags.
|
Modifier and Type | Method and Description |
---|---|
static void |
add(byte[] value,
FElem elem)
Parses a string as XML and adds the resulting nodes to the specified parent.
|
static byte[] |
doc(TokenObjMap<TokenList> doc,
byte[] name)
Returns a value for the specified parameter or
null . |
protected abstract FElem |
elem(byte[] name,
FElem parent)
Creates a new element.
|
protected abstract FElem |
elem(String name,
FElem parent)
Creates an element.
|
abstract FElem |
parse(IO io)
Parses a module and returns an inspection element.
|
public static final byte[][] DOC_TAGS
public static final byte[] DOC_DESCRIPTION
public static final byte[] DOC_PARAM
public static final byte[] DOC_RETURN
public abstract FElem parse(IO io) throws QueryException
io
- input referenceQueryException
- query exceptionprotected abstract FElem elem(byte[] name, FElem parent)
name
- element nameparent
- parent elementprotected abstract FElem elem(String name, FElem parent)
name
- name of elementparent
- parent elementpublic static void add(byte[] value, FElem elem)
value
- string to parseelem
- elementpublic static byte[] doc(TokenObjMap<TokenList> doc, byte[] name)
null
.doc
- documentationname
- parameter namenull
Copyright © 2005–2023 BaseX Team. All rights reserved.