GRAILS-1019: Allowing expressions to be used with the 'disabled' attribute for g...
[grails.git] / src / web / org / codehaus / groovy / grails / web / pages / GroovyPageMetaInfo.java
blob0b48567f20d1e9569876ee46b8319956be3b466d
1 /* Copyright 2004-2005 Graeme Rocher
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
15 package org.codehaus.groovy.grails.web.pages;
17 import java.io.InputStream;
19 /**
20 * A class that encapsulates the information necessary to describe a GSP
22 * @author Graeme Rocher
23 * @since 0.5
25 * <p/>
26 * Created: Feb 23, 2007
27 * Time: 11:38:40 AM
29 class GroovyPageMetaInfo {
31 private Class pageClass;
32 private long lastModified;
33 private InputStream groovySource;
34 private String contentType;
35 private int[] lineNumbers;
38 public Class getPageClass() {
39 return pageClass;
42 public void setPageClass(Class pageClass) {
43 this.pageClass = pageClass;
46 public long getLastModified() {
47 return lastModified;
50 public void setLastModified(long lastModified) {
51 this.lastModified = lastModified;
54 public InputStream getGroovySource() {
55 return groovySource;
58 public void setGroovySource(InputStream groovySource) {
59 this.groovySource = groovySource;
62 public String getContentType() {
63 return contentType;
66 public void setContentType(String contentType) {
67 this.contentType = contentType;
70 public int[] getLineNumbers() {
71 return lineNumbers;
74 public void setLineNumbers(int[] lineNumbers) {
75 this.lineNumbers = lineNumbers;