Package org.yaml.snakeyaml.emitter
Class ScalarAnalysis
java.lang.Object
org.yaml.snakeyaml.emitter.ScalarAnalysis
Accumulate information to choose the scalar style
-
Constructor Summary
ConstructorsConstructorDescriptionScalarAnalysis
(String scalar, boolean empty, boolean multiline, boolean allowFlowPlain, boolean allowBlockPlain, boolean allowSingleQuoted, boolean allowBlock) -
Method Summary
-
Constructor Details
-
ScalarAnalysis
public ScalarAnalysis(String scalar, boolean empty, boolean multiline, boolean allowFlowPlain, boolean allowBlockPlain, boolean allowSingleQuoted, boolean allowBlock)
-
-
Method Details
-
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()
-