1/**
2 * Copyright (c) 2008, http://www.snakeyaml.org
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.yaml.snakeyaml.emitter;
17
18public final class ScalarAnalysis {
19    public String scalar;
20    public boolean empty;
21    public boolean multiline;
22    public boolean allowFlowPlain;
23    public boolean allowBlockPlain;
24    public boolean allowSingleQuoted;
25    public boolean allowBlock;
26
27    public ScalarAnalysis(String scalar, boolean empty, boolean multiline, boolean allowFlowPlain,
28            boolean allowBlockPlain, boolean allowSingleQuoted, boolean allowBlock) {
29        this.scalar = scalar;
30        this.empty = empty;
31        this.multiline = multiline;
32        this.allowFlowPlain = allowFlowPlain;
33        this.allowBlockPlain = allowBlockPlain;
34        this.allowSingleQuoted = allowSingleQuoted;
35        this.allowBlock = allowBlock;
36    }
37}