~hjd/ubuntu/wily/xmlgraphics-commons/debian-merged

« back to all changes in this revision

Viewing changes to src/java/org/apache/xmlgraphics/ps/dsc/events/DSCComment.java

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Fourmond
  • Date: 2011-02-11 14:15:14 UTC
  • mfrom: (8.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110211141514-h67achft6x31gju1
Tags: 1.4.dfsg-3
Uploading to unstable, hoping we won't break too many things ;-)...

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
6
 * (the "License"); you may not use this file except in compliance with
7
7
 * the License.  You may obtain a copy of the License at
8
 
 * 
 
8
 *
9
9
 *      http://www.apache.org/licenses/LICENSE-2.0
10
 
 * 
 
10
 *
11
11
 * Unless required by applicable law or agreed to in writing, software
12
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
15
 * limitations under the License.
16
16
 */
17
17
 
18
 
/* $Id$ */
 
18
/* $Id: DSCComment.java 750418 2009-03-05 11:03:54Z vhennebert $ */
19
19
 
20
20
package org.apache.xmlgraphics.ps.dsc.events;
21
21
 
33
33
     * @return the name of the DSC comment (without the "%%" prefix)
34
34
     */
35
35
    String getName();
36
 
    
 
36
 
37
37
    /**
38
38
     * Parses the value of the DSC comment.
39
39
     * @param value the value
40
40
     */
41
41
    void parseValue(String value);
42
 
    
 
42
 
43
43
    /**
44
44
     * Indicates whether this DSC comment has values.
45
45
     * @return true if the DSC comment has values
46
46
     */
47
47
    boolean hasValues();
48
 
    
 
48
 
49
49
    /**
50
50
     * Indicates whether the DSC comment's value is "Atend".
51
51
     * @return true if the value is "Atend"
57
57
     *      org.apache.xmlgraphics.ps.PSGenerator)
58
58
     */
59
59
    void generate(PSGenerator gen) throws IOException;
60
 
    
 
60
 
61
61
}