View Javadoc

1   /*
2    * Copyright © 2007  Red Hat Middleware, LLC. All rights reserved.
3    *
4    * This copyrighted material is made available to anyone wishing to use, modify,
5    * copy, or redistribute it subject to the terms and conditions of the GNU
6    * Lesser General Public License, v. 2.1. This program is distributed in the
7    * hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
8    * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9    * Lesser General Public License for more details. You should have received a
10   * copy of the GNU Lesser General Public License, v.2.1 along with this
11   * distribution; if not, write to the Free Software Foundation, Inc.,
12   * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13   *
14   * Red Hat Author(s): Steve Ebersole
15   */
16  package org.jboss.maven.plugins.jdocbook;
17  
18  /**
19   * Represents a user format specification.
20   *
21   * @author Steve Ebersole
22   */
23  public class Format {
24  	private String formatName;
25  
26  	private String targetFileExtension;
27  	private String finalName;
28  	private String stylesheetResource;
29  	private Boolean imagePathSettingRequired;
30  	private Boolean imageCopyingRequired;
31  	private Boolean doingChunking;
32  
33  	public Format() {
34  	}
35  
36  	public Format(
37  			String formatName,
38  			String targetFileExtension,
39  			String finalName,
40  			String stylesheetResource,
41  			Boolean imagePathSettingRequired,
42  			Boolean imageCopyingRequired,
43  			Boolean doingChunking) {
44  		this.formatName = formatName;
45  		this.targetFileExtension = targetFileExtension;
46  		this.finalName = finalName;
47  		this.stylesheetResource = stylesheetResource;
48  		this.imagePathSettingRequired = imagePathSettingRequired;
49  		this.imageCopyingRequired = imageCopyingRequired;
50  		this.doingChunking = doingChunking;
51  	}
52  
53  	public String getFormatName() {
54  		return formatName;
55  	}
56  
57  	public String getTargetFileExtension() {
58  		return targetFileExtension;
59  	}
60  
61  	public String getFinalName() {
62  		return finalName;
63  	}
64  
65  	public String getStylesheetResource() {
66  		return stylesheetResource;
67  	}
68  
69  	public Boolean getImagePathSettingRequired() {
70  		return imagePathSettingRequired;
71  	}
72  
73  	public Boolean getImageCopyingRequired() {
74  		return imageCopyingRequired;
75  	}
76  
77  	public Boolean getDoingChunking() {
78  		return doingChunking;
79  	}
80  }