DixShtix

com.dixshtix.niff
Class Parser.DefaultContext

java.lang.Object
  |
  +--com.dixshtix.niff.Parser.DefaultContext
All Implemented Interfaces:
NiffParserContext
Enclosing class:
Parser

public static class Parser.DefaultContext
extends java.lang.Object
implements NiffParserContext

A simple modal class for keeping track of parser state.


Field Summary
protected  ChunkLengthTable clt
           
(package private)  int indent
           
protected  byte[] strings
           
 
Constructor Summary
Parser.DefaultContext()
           
 
Method Summary
 void decIndent()
           
 ChunkLengthTable getChunkLengthTable()
           
 java.lang.String getEncoding()
           
 int getIndent()
           
 byte[] getStringTable()
           
 void incIndent()
           
 void setStringTable(byte[] value)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

clt

protected ChunkLengthTable clt

strings

protected byte[] strings

indent

int indent
Constructor Detail

Parser.DefaultContext

public Parser.DefaultContext()
Method Detail

getChunkLengthTable

public ChunkLengthTable getChunkLengthTable()
Specified by:
getChunkLengthTable in interface NiffParserContext

getStringTable

public byte[] getStringTable()
Specified by:
getStringTable in interface NiffParserContext

setStringTable

public void setStringTable(byte[] value)
Specified by:
setStringTable in interface NiffParserContext

incIndent

public void incIndent()
Specified by:
incIndent in interface NiffParserContext

decIndent

public void decIndent()
Specified by:
decIndent in interface NiffParserContext

getIndent

public int getIndent()
Specified by:
getIndent in interface NiffParserContext

getEncoding

public java.lang.String getEncoding()
Specified by:
getEncoding in interface NiffParserContext

DixShtix