Package org.snakeyaml.engine.v2.emitter
Class ScalarAnalysis
- java.lang.Object
-
- org.snakeyaml.engine.v2.emitter.ScalarAnalysis
-
public final class ScalarAnalysis extends Object
Accumulate information to choose the scalar style
-
-
Constructor Summary
Constructors Constructor Description ScalarAnalysis(String scalar, boolean empty, boolean multiline, boolean allowFlowPlain, boolean allowBlockPlain, boolean allowSingleQuoted, boolean allowBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScalar()
boolean
isAllowBlock()
boolean
isAllowBlockPlain()
boolean
isAllowFlowPlain()
boolean
isAllowSingleQuoted()
boolean
isEmpty()
boolean
isMultiline()
-
-
-
Constructor Detail
-
ScalarAnalysis
public ScalarAnalysis(String scalar, boolean empty, boolean multiline, boolean allowFlowPlain, boolean allowBlockPlain, boolean allowSingleQuoted, boolean allowBlock)
-
-
Method Detail
-
getScalar
public String getScalar()
-
isEmpty
public boolean isEmpty()
-
isMultiline
public boolean isMultiline()
-
isAllowFlowPlain
public boolean isAllowFlowPlain()
-
isAllowBlockPlain
public boolean isAllowBlockPlain()
-
isAllowSingleQuoted
public boolean isAllowSingleQuoted()
-
isAllowBlock
public boolean isAllowBlock()
-
-