org.fife.ui.rsyntaxtextarea
public class XMLParser extends AbstractParser
Constructor and Description |
---|
XMLParser(RSyntaxTextArea textArea) |
Modifier and Type | Method and Description |
---|---|
ParseResult |
parse(RSyntaxDocument doc,
String style)
Parses input from the specified document.
|
getHyperlinkListener, getImageBase, isEnabled, setEnabled, setHyperlinkListener
public XMLParser(RSyntaxTextArea textArea)
public ParseResult parse(RSyntaxDocument doc, String style)
doc
- The document to parse. This document is in a read lock,
so it cannot be modified while parsing is occurring.style
- The language being rendered, such as
SyntaxConstants.SYNTAX_STYLE_JAVA
.null
.