Class Emitter

java.lang.Object
org.yecht.Emitter

public class Emitter extends Object
Author:
Ola Bini
  • Field Details

    • headless

      public boolean headless
    • use_header

      public boolean use_header
    • use_version

      public boolean use_version
    • sort_keys

      public boolean sort_keys
    • anchor_format

      public String anchor_format
    • explicit_typing

      public boolean explicit_typing
    • best_width

      public int best_width
    • style

      public ScalarStyle style
    • stage

      public DocStage stage
    • level

      public int level
    • indent

      public int indent
    • bonus

      public Object bonus
  • Constructor Details

    • Emitter

      public Emitter()
  • Method Details

    • currentLevel

      public Level currentLevel()
    • parentLevel

      public Level parentLevel()
    • popLevel

      public void popLevel()
    • addLevel

      public void addLevel(int len, LevelStatus status)
    • resetLevels

      public void resetLevels()
    • handler

      public void handler(EmitterHandler hdlr)
    • outputHandler

      public void outputHandler(OutputHandler hdlr)
    • clear

      public void clear()
    • write

      public void write(Pointer _str, int _len)
    • flush

      public void flush(int check_room)
    • emit

      public void emit(Object n)
    • emitTag

      public void emitTag(String tag, String ignore)
    • emitIndent

      public void emitIndent()
    • scanScalar

      public int scanScalar(int req_width, Pointer _cursor, int len)
    • emitScalar

      public void emitScalar(String tag, ScalarStyle force_style, int force_indent, int force_width, int keep_nl, Pointer _str, int len)
    • escape

      public void escape(Pointer _src, int len)
    • emit1Quoted

      public void emit1Quoted(int width, Pointer _str, int len)
    • emit2Quoted

      public void emit2Quoted(int width, Pointer _str, int len)
    • emitLiteral

      public void emitLiteral(int keep_nl, Pointer _str, int len)
    • emitFolded

      public void emitFolded(int width, int keep_nl, Pointer _str, int len)
    • emitSeq

      public void emitSeq(String tag, SeqStyle style)
    • emitMap

      public void emitMap(String tag, MapStyle style)
    • emitItem

      public void emitItem(Object n)
    • emitEnd

      public void emitEnd()
    • markNode

      public long markNode(Object n)