001/**
002 * Copyright (c) 2005, www.fontbox.org
003 * All rights reserved.
004 *
005 * Redistribution and use in source and binary forms, with or without
006 * modification, are permitted provided that the following conditions are met:
007 *
008 * 1. Redistributions of source code must retain the above copyright notice,
009 *    this list of conditions and the following disclaimer.
010 * 2. Redistributions in binary form must reproduce the above copyright notice,
011 *    this list of conditions and the following disclaimer in the documentation
012 *    and/or other materials provided with the distribution.
013 * 3. Neither the name of fontbox; nor the names of its
014 *    contributors may be used to endorse or promote products derived from this
015 *    software without specific prior written permission.
016 *
017 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
018 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
019 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
020 * DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
021 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
022 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
023 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
024 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
025 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
026 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
027 *
028 * http://www.fontbox.org
029 *
030 */
031package com.itextpdf.text.pdf.fonts.cmaps;
032
033/**
034 * This represents a single entry in the codespace range.
035 *
036 * @author Ben Litchfield (ben@benlitchfield.com)
037 * @version $Revision: 4113 $
038 * @since       2.1.4
039 */
040public class CodespaceRange
041{
042
043    private byte[] start;
044    private byte[] end;
045
046    /**
047     * Creates a new instance of CodespaceRange.
048     */
049    public CodespaceRange()
050    {
051    }
052
053    /** Getter for property end.
054     * @return Value of property end.
055     *
056     */
057    public byte[] getEnd()
058    {
059        return this.end;
060    }
061
062    /** Setter for property end.
063     * @param endBytes New value of property end.
064     *
065     */
066    public void setEnd(byte[] endBytes)
067    {
068        end = endBytes;
069    }
070
071    /** Getter for property start.
072     * @return Value of property start.
073     *
074     */
075    public byte[] getStart()
076    {
077        return this.start;
078    }
079
080    /** Setter for property start.
081     * @param startBytes New value of property start.
082     *
083     */
084    public void setStart(byte[] startBytes)
085    {
086        start = startBytes;
087    }
088
089}