MetaTF.Parser
Class Stride
java.lang.Object
|
+--MetaTF.Parser.Value
|
+--MetaTF.Parser.Stride
- public class Stride
- extends Value
stride
- Version:
- rel-1-2 ($Revision: 1.3 $, $Date: 2000/12/15 16:29:55 $),
- Author:
- Richard Jones
- See Also:
- The MetaTF Grammar,
Value
Constructor Summary |
(package private) |
Stride(int init,
int str)
Allocate a new object representing the stride |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Stride
Stride(int init,
int str)
- Allocate a new object representing the stride
- Parameters:
init
- the initial valuestr
- the stride
getInitialValue
public int getInitialValue()
- Returns:
- the initial value of the stride
getStride
public int getStride()
- Returns:
- the stride
setInitialValue
void setInitialValue(int init)
- Set the initial value
- Parameters:
init
- the initial value
setStride
void setStride(int s)
- Set the stride
- Parameters:
s
- the stride
toString
public java.lang.String toString()
- Overrides:
toString
in class Value
- Following copied from class:
MetaTF.Parser.Value
- Returns:
- a string representation of this object
dump
public java.lang.String dump(java.lang.String prefix)
- Overrides:
dump
in class Value
- Following copied from class:
MetaTF.Parser.Value
- Returns:
- a prettified representation of this object
accept
public java.lang.Object accept(DTDVisitor visitor,
java.lang.Object data)
- Description copied from class:
Value
- Accept the visitor
- Overrides:
accept
in class Value
Copyright © 2001 - Richard Jones MetaTF