aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/extensions/Label.java
blob: cbc274413314f645a5daaed4f7f3bb5da6d2b4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * $Id$
 * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
 * For details on use and redistribution please refer to the
 * LICENSE file included with these sources.
 */

package org.apache.fop.extensions;

import org.apache.fop.fo.*;


public class Label extends ExtensionObj {
    private String _label = "";

    public Label(FObj parent) {
        super(parent);
    }

    protected void addCharacters(char data[], int start, int end) {
        _label += new String(data, start, end - start);
    }

    public String toString() {
        return _label;
    }


}