MetaTF.Parser
Class BaseOffset
java.lang.Object
|
+--MetaTF.Parser.Value
|
+--MetaTF.Parser.BaseOffset
- public class BaseOffset
- extends Value
baseOffset
- Version:
- rel-1-2 ($Revision: 1.3 $, $Date: 2000/12/15 16:29:55 $),
- Author:
- Richard Jones
- See Also:
- The MetaTF Grammar,
ASTBaseOffset
Constructor Summary |
(package private) |
BaseOffset(int o)
Allocates an object repersenting the baseOffset |
Method Summary |
java.lang.Object |
accept(DTDVisitor visitor,
java.lang.Object data)
Accept the visitor |
java.lang.String |
dump(java.lang.String prefix)
|
int |
getOffset()
Get the baseOffset |
(package private) void |
setOffset(int o)
Set the baseOffset |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseOffset
BaseOffset(int o)
- Allocates an object repersenting the baseOffset
- Parameters:
o
- the offset
getOffset
public int getOffset()
- Get the baseOffset
- Returns:
- the offset
setOffset
void setOffset(int o)
- Set the baseOffset
- Parameters:
o
- the offset
toString
public java.lang.String toString()
- Overrides:
toString
in class Value
- Returns:
- a prettified representation of this object
dump
public java.lang.String dump(java.lang.String prefix)
- Overrides:
dump
in class Value
- Returns:
- a string representation of the baseOffset
accept
public java.lang.Object accept(DTDVisitor visitor,
java.lang.Object data)
- Accept the visitor
- Overrides:
accept
in class Value
Copyright © 2001 - Richard Jones MetaTF