public class JsonExtractHandler extends java.lang.Object implements SourceHandler
Constructor and Description |
---|
JsonExtractHandler(JsonHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Append a string consisting of the characters from ch[start] thru ch[start+length-1] inclusive to the source
text.
|
void |
endCharHilite() |
void |
endRange() |
void |
endSource() |
int |
getHiliteLength()
Returns the hiliteLength.
|
int |
getHiliteStart()
Returns the hiliteStart.
|
void |
newLine() |
void |
setLineErrors(java.util.SortedSet<java.lang.Integer> oneBasedLineErrors) |
void |
startCharHilite(int oneBasedLine,
int oneBasedColumn) |
void |
startRange(int oneBasedLine,
int oneBasedColumn) |
void |
startSource(java.lang.String type,
java.lang.String encoding) |
public JsonExtractHandler(JsonHandler handler)
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
SourceHandler
characters
in interface SourceHandler
org.xml.sax.SAXException
StringBuffer.append(char[], int, int)
,
ContentHandler.characters(char[], int, int)
public void endCharHilite() throws org.xml.sax.SAXException
endCharHilite
in interface SourceHandler
org.xml.sax.SAXException
public void endRange() throws org.xml.sax.SAXException
endRange
in interface SourceHandler
org.xml.sax.SAXException
public void endSource() throws org.xml.sax.SAXException
endSource
in interface SourceHandler
org.xml.sax.SAXException
public void newLine() throws org.xml.sax.SAXException
newLine
in interface SourceHandler
org.xml.sax.SAXException
public void startCharHilite(int oneBasedLine, int oneBasedColumn) throws org.xml.sax.SAXException
startCharHilite
in interface SourceHandler
org.xml.sax.SAXException
public void startRange(int oneBasedLine, int oneBasedColumn) throws org.xml.sax.SAXException
startRange
in interface SourceHandler
org.xml.sax.SAXException
public void startSource(java.lang.String type, java.lang.String encoding) throws org.xml.sax.SAXException
startSource
in interface SourceHandler
org.xml.sax.SAXException
public int getHiliteLength()
public int getHiliteStart()
public void setLineErrors(java.util.SortedSet<java.lang.Integer> oneBasedLineErrors) throws org.xml.sax.SAXException
setLineErrors
in interface SourceHandler
org.xml.sax.SAXException