org.yecht
Class Emitter
public
class
Emitter
extends Object
| Method Summary |
| void | addLevel(int len, LevelStatus status) |
| void | clear() |
| Level | currentLevel() |
| void | emit(Object n) |
| void | emit1Quoted(int width, Pointer _str, int len) |
| void | emit2Quoted(int width, Pointer _str, int len) |
| void | emitEnd() |
| void | emitFolded(int width, int keep_nl, Pointer _str, int len) |
| void | emitIndent() |
| void | emitItem(Object n) |
| void | emitLiteral(int keep_nl, Pointer _str, int len) |
| void | emitMap(String tag, MapStyle style) |
| void | emitScalar(String tag, ScalarStyle force_style, int force_indent, int force_width, int keep_nl, Pointer _str, int len) |
| void | emitSeq(String tag, SeqStyle style) |
| void | emitTag(String tag, String ignore) |
| void | escape(Pointer _src, int len) |
| void | flush(int check_room) |
| void | handler(EmitterHandler hdlr) |
| long | markNode(Object n) |
| void | outputHandler(OutputHandler hdlr) |
| Level | parentLevel() |
| void | popLevel() |
| void | resetLevels() |
| int | scanScalar(int req_width, Pointer _cursor, int len) |
| void | write(Pointer _str, int _len) |
public String anchor_format
public int best_width
public Object bonus
public boolean explicit_typing
public boolean headless
public int indent
public int level
public boolean sort_keys
public boolean use_header
public boolean use_version
public Emitter()
public void clear()
public
Level currentLevel()
public void emit(Object n)
public void emit1Quoted(int width,
Pointer _str, int len)
public void emit2Quoted(int width,
Pointer _str, int len)
public void emitEnd()
public void emitFolded(int width, int keep_nl,
Pointer _str, int len)
public void emitIndent()
public void emitItem(Object n)
public void emitLiteral(int keep_nl,
Pointer _str, int len)
public void emitMap(String tag,
MapStyle style)
public void emitScalar(String tag,
ScalarStyle force_style, int force_indent, int force_width, int keep_nl,
Pointer _str, int len)
public void emitSeq(String tag,
SeqStyle style)
public void emitTag(String tag, String ignore)
public void escape(
Pointer _src, int len)
public void flush(int check_room)
public long markNode(Object n)
public
Level parentLevel()
public void popLevel()
public void resetLevels()
public int scanScalar(int req_width,
Pointer _cursor, int len)
public void write(
Pointer _str, int _len)