public abstract class ParsingDecoder extends Decoder implements Parser.ActionHandler, SkipParser.SkipHandler
Modifier and Type | Field and Description |
---|---|
protected SkipParser |
parser |
Modifier | Constructor and Description |
---|---|
protected |
ParsingDecoder(Symbol root) |
Modifier and Type | Method and Description |
---|---|
void |
skipAction()
Skips the action at the top of the stack.
|
protected abstract void |
skipFixed() |
void |
skipTopSymbol()
Skips the symbol at the top of the stack.
|
arrayNext, mapNext, readArrayStart, readBoolean, readBytes, readDouble, readEnum, readFixed, readFixed, readFloat, readIndex, readInt, readLong, readMapStart, readNull, readString, readString, skipArray, skipBytes, skipFixed, skipMap, skipString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doAction
protected final SkipParser parser
protected ParsingDecoder(Symbol root) throws IOException
IOException
protected abstract void skipFixed() throws IOException
IOException
public void skipAction() throws IOException
SkipParser.SkipHandler
skipAction
in interface SkipParser.SkipHandler
IOException
public void skipTopSymbol() throws IOException
SkipParser.SkipHandler
skipTopSymbol
in interface SkipParser.SkipHandler
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.