fr.inria.oadymppac.parsing.info
Class RangeInfo

java.lang.Object
  extended byfr.inria.oadymppac.parsing.info.RangeInfo
All Implemented Interfaces:
java.lang.Cloneable, DTDRangeElement, Info, RangeAttributes

public class RangeInfo
extends java.lang.Object
implements Info, RangeAttributes, java.lang.Cloneable

Author:
raf To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
static int INFO_TYPE
           
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Info
logger
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.RangeAttributes
FROM_NONE, TO_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDRangeElement
FROM, RANGE, TO
 
Constructor Summary
RangeInfo()
           
 
Method Summary
 java.lang.Object clone()
           
 int getFrom()
           
 int getInfoType()
           
 int getTo()
           
 void setFrom(int from)
           
 void setTo(int to)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INFO_TYPE

public static final int INFO_TYPE
See Also:
Constant Field Values
Constructor Detail

RangeInfo

public RangeInfo()
Method Detail

getInfoType

public int getInfoType()
Specified by:
getInfoType in interface Info

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getFrom

public int getFrom()
Specified by:
getFrom in interface RangeAttributes
Returns:
Returns the from.

setFrom

public void setFrom(int from)
Specified by:
setFrom in interface RangeAttributes
Parameters:
from - The from to set.

getTo

public int getTo()
Specified by:
getTo in interface RangeAttributes
Returns:
Returns the to.

setTo

public void setTo(int to)
Specified by:
setTo in interface RangeAttributes
Parameters:
to - The to to set.

toString

public java.lang.String toString()