Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ScalarAnalysis |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright (c) 2008-2012, 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 | */ | |
16 | package org.yaml.snakeyaml.emitter; | |
17 | ||
18 | public 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 | 670512 | boolean allowBlockPlain, boolean allowSingleQuoted, boolean allowBlock) { |
29 | 670512 | this.scalar = scalar; |
30 | 670512 | this.empty = empty; |
31 | 670512 | this.multiline = multiline; |
32 | 670512 | this.allowFlowPlain = allowFlowPlain; |
33 | 670512 | this.allowBlockPlain = allowBlockPlain; |
34 | 670512 | this.allowSingleQuoted = allowSingleQuoted; |
35 | 670512 | this.allowBlock = allowBlock; |
36 | 670512 | } |
37 | } |