|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TokenBuilder | |
---|---|
org.basex.index.stats | |
org.basex.io.in | |
org.basex.query.util.json | |
org.basex.query.value.item | |
org.basex.util | Utility classes. |
Uses of TokenBuilder in org.basex.index.stats |
---|
Methods in org.basex.index.stats with parameters of type TokenBuilder | |
---|---|
void |
IndexStats.print(TokenBuilder tb)
Prints the list to the specified token builder. |
Uses of TokenBuilder in org.basex.io.in |
---|
Methods in org.basex.io.in that return TokenBuilder | |
---|---|
TokenBuilder |
TextInput.cache()
Retrieves the whole text and closes the stream. |
Methods in org.basex.io.in with parameters of type TokenBuilder | |
---|---|
boolean |
NewlineInput.readLine(TokenBuilder tb)
Copies a single line to the specified token builder. |
Uses of TokenBuilder in org.basex.query.util.json |
---|
Methods in org.basex.query.util.json that return TokenBuilder | |
---|---|
static TokenBuilder |
JsonStringConverter.print(java.lang.String json,
JsonParser.Spec spec,
boolean un,
TokenBuilder tb)
Writes a pretty-printed representation of the given JSON string to the given builder. |
Methods in org.basex.query.util.json with parameters of type TokenBuilder | |
---|---|
static TokenBuilder |
JsonStringConverter.print(java.lang.String json,
JsonParser.Spec spec,
boolean un,
TokenBuilder tb)
Writes a pretty-printed representation of the given JSON string to the given builder. |
Uses of TokenBuilder in org.basex.query.value.item |
---|
Methods in org.basex.query.value.item with parameters of type TokenBuilder | |
---|---|
protected void |
Dur.date(TokenBuilder tb)
Adds the date to the specified token builder. |
protected static void |
ADate.prefix(TokenBuilder tb,
long n,
int z)
Prefixes the specified number of zero digits before a number. |
protected void |
Dur.time(TokenBuilder tb)
Adds the time to the specified token builder. |
protected void |
ADate.zone(TokenBuilder tb)
Adds the time zone to the specified token builder. |
Uses of TokenBuilder in org.basex.util |
---|
Methods in org.basex.util that return TokenBuilder | |
---|---|
TokenBuilder |
TokenBuilder.add(byte[] value)
Adds a byte array to the token. |
TokenBuilder |
TokenBuilder.add(byte[] value,
int start,
int end)
Adds part of a byte array to the token. |
TokenBuilder |
TokenBuilder.add(int cp)
Adds the specified UTF8 codepoint. |
TokenBuilder |
TokenBuilder.add(java.lang.String string)
Adds a string to the token. |
TokenBuilder |
TokenBuilder.addByte(byte value)
Adds a byte to the token. |
TokenBuilder |
TokenBuilder.addExt(java.lang.Object object,
java.lang.Object... ext)
Adds the string representation of an object: objects of type Throwable are converted to a string representation
via Util.message(java.lang.Throwable) .
objects of type Class are converted via Util.name(Class) .
null references are replaced by the string "null" .
byte arrays are directly inserted as tokens.
for all other typed, Object.toString() is called.
The specified string may contain "%" characters as place holders. |
TokenBuilder |
TokenBuilder.addInt(int value)
Adds an integer value to the token. |
TokenBuilder |
TokenBuilder.addLong(long value)
Adds a number to the token. |
TokenBuilder |
TokenBuilder.addSep(java.lang.Object[] objects,
java.lang.String sep)
Adds multiple strings to the token, separated by the specified string. |
TokenBuilder |
TokenBuilder.bold()
Adds a bold flag. |
TokenBuilder |
TokenBuilder.hline()
Adds a half new line. |
TokenBuilder |
TokenBuilder.insert(int pos,
int cp)
Inserts the specified UTF8 character. |
TokenBuilder |
TokenBuilder.nline()
Adds a new line. |
TokenBuilder |
TokenBuilder.norm()
Adds a norm flag. |
TokenBuilder |
TokenBuilder.reset()
Resets the token buffer. |
TokenBuilder |
TokenBuilder.trim()
Trims leading and trailing whitespaces. |
TokenBuilder |
TokenBuilder.uline()
Adds an underline toggle flag. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |