blob: 997997fa7de919b38654681173dae7b10bdfceec [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.dtd.core.internal.emf;
public class DTDLexicalInfo implements DTDSourceOffset {
// Begin User Defined Methods
int startOffset;
int endOffset;
/**
* Get the value of startOffset.
*
* @return value of startOffset.
*/
public int getStartOffset() {
return startOffset;
}
/**
* Set the value of startOffset.
*
* @param v
* Value to assign to startOffset.
*/
public void setStartOffset(int v) {
this.startOffset = v;
}
/**
* Get the value of endOffset.
*
* @return value of endOffset.
*/
public int getEndOffset() {
return endOffset;
}
/**
* Set the value of endOffset.
*
* @param v
* Value to assign to endOffset.
*/
public void setEndOffset(int v) {
this.endOffset = v;
}
/**
* Get the value of startOffset.
*
* @return value of startOffset.
*/
protected int getStartOffsetGen() {
return startOffset;
}
/**
* Set the value of startOffset.
*
* @param v
* Value to assign to startOffset.
*/
protected void setStartOffsetGen(int v) {
this.startOffset = v;
}
/**
* Get the value of endOffset.
*
* @return value of endOffset.
*/
protected int getEndOffsetGen() {
return endOffset;
}
/**
* Set the value of endOffset.
*
* @param v
* Value to assign to endOffset.
*/
protected void setEndOffsetGen(int v) {
this.endOffset = v;
}
}// DTDSourceOffset