public final class SyntaxXML extends Object
Constructor and Description |
---|
SyntaxXML() |
Modifier and Type | Method and Description |
---|---|
byte[] |
commentEnd()
Returns the end of a comment.
|
byte[] |
commentOpen()
Returns the start of a comment.
|
byte[] |
format(byte[] string,
byte[] spaces)
Returns a formatted version of a string.
|
Color |
getColor(org.basex.gui.text.TextIterator iter)
Returns the color for the current token.
|
void |
init(Color color)
Initializes the highlighter.
|
public void init(Color color)
color
- default colorpublic Color getColor(org.basex.gui.text.TextIterator iter)
iter
- iteratorpublic byte[] commentOpen()
public byte[] commentEnd()
public byte[] format(byte[] string, byte[] spaces)
string
- string to be formattedspaces
- spacesCopyright © 2005–2023 BaseX Team. All rights reserved.