org.jvyamlb
Class EmitterImpl.EmitterEnvironment
java.lang.Object
org.jvyamlb.EmitterImpl.EmitterEnvironment
- Enclosing class:
- EmitterImpl
private static class EmitterImpl.EmitterEnvironment
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
states
public java.util.List states
state
public int state
events
public java.util.List events
event
public Event event
flowLevel
public int flowLevel
indents
public java.util.List indents
indent
public int indent
rootContext
public boolean rootContext
sequenceContext
public boolean sequenceContext
mappingContext
public boolean mappingContext
simpleKeyContext
public boolean simpleKeyContext
line
public int line
column
public int column
whitespace
public boolean whitespace
indentation
public boolean indentation
canonical
public boolean canonical
bestIndent
public int bestIndent
bestWidth
public int bestWidth
bestLinebreak
public org.jruby.util.ByteList bestLinebreak
tagPrefixes
public java.util.Map tagPrefixes
preparedAnchor
public java.lang.String preparedAnchor
preparedTag
public java.lang.String preparedTag
analysis
public EmitterImpl.ScalarAnalysis analysis
style
public char style
emitter
public EmitterImpl emitter
isVersion10
public boolean isVersion10
EmitterImpl.EmitterEnvironment
private EmitterImpl.EmitterEnvironment()
needMoreEvents
public boolean needMoreEvents()
needEvents
private boolean needEvents(int count)
increaseIndent
private void increaseIndent(boolean flow,
boolean indentless)
expectStreamStart
public void expectStreamStart()
expectNothing
public void expectNothing()
expectDocumentStart
public void expectDocumentStart(boolean first)
throws java.io.IOException
- Throws:
java.io.IOException
expectDocumentRoot
public void expectDocumentRoot()
throws java.io.IOException
- Throws:
java.io.IOException
expectDocumentEnd
public void expectDocumentEnd()
throws java.io.IOException
- Throws:
java.io.IOException
expectFirstFlowSequenceItem
public void expectFirstFlowSequenceItem()
throws java.io.IOException
- Throws:
java.io.IOException
expectFlowSequenceItem
public void expectFlowSequenceItem()
throws java.io.IOException
- Throws:
java.io.IOException
expectFirstFlowMappingKey
public void expectFirstFlowMappingKey()
throws java.io.IOException
- Throws:
java.io.IOException
expectFlowMappingSimpleValue
public void expectFlowMappingSimpleValue()
throws java.io.IOException
- Throws:
java.io.IOException
expectFlowMappingValue
public void expectFlowMappingValue()
throws java.io.IOException
- Throws:
java.io.IOException
expectFlowMappingKey
public void expectFlowMappingKey()
throws java.io.IOException
- Throws:
java.io.IOException
expectBlockSequenceItem
public void expectBlockSequenceItem(boolean first)
throws java.io.IOException
- Throws:
java.io.IOException
expectFirstBlockMappingKey
public void expectFirstBlockMappingKey()
throws java.io.IOException
- Throws:
java.io.IOException
expectBlockMappingSimpleValue
public void expectBlockMappingSimpleValue()
throws java.io.IOException
- Throws:
java.io.IOException
expectBlockMappingValue
public void expectBlockMappingValue()
throws java.io.IOException
- Throws:
java.io.IOException
expectBlockMappingKey
public void expectBlockMappingKey(boolean first)
throws java.io.IOException
- Throws:
java.io.IOException
expectNode
private void expectNode(boolean root,
boolean sequence,
boolean mapping,
boolean simpleKey)
throws java.io.IOException
- Throws:
java.io.IOException
expectAlias
private void expectAlias()
throws java.io.IOException
- Throws:
java.io.IOException
expectScalar
private void expectScalar()
throws java.io.IOException
- Throws:
java.io.IOException
expectFlowSequence
private void expectFlowSequence()
throws java.io.IOException
- Throws:
java.io.IOException
expectBlockSequence
private void expectBlockSequence()
throws java.io.IOException
- Throws:
java.io.IOException
expectFlowMapping
private void expectFlowMapping()
throws java.io.IOException
- Throws:
java.io.IOException
expectBlockMapping
private void expectBlockMapping()
throws java.io.IOException
- Throws:
java.io.IOException
checkEmptySequence
private boolean checkEmptySequence()
checkEmptyMapping
private boolean checkEmptyMapping()
checkEmptyDocument
private boolean checkEmptyDocument()
checkSimpleKey
private boolean checkSimpleKey()
processAnchor
private void processAnchor(org.jruby.util.ByteList indicator)
throws java.io.IOException
- Throws:
java.io.IOException
processTag
private void processTag()
throws java.io.IOException
- Throws:
java.io.IOException
chooseScalarStyle
private char chooseScalarStyle()
processScalar
private void processScalar()
throws java.io.IOException
- Throws:
java.io.IOException