MetaTF.Parser
Class StringDefault
java.lang.Object
|
+--MetaTF.Parser.Value
|
+--MetaTF.Parser.StringDefault
- public class StringDefault
- extends Value
String valued default
- Version:
- rel-1-2 ($Revision: 1.2 $, $Date: 2000/12/15 16:29:55 $),
- Author:
- Richard Jones
- See Also:
- The MetaTF Grammar,
Value
Constructor Summary |
(package private) |
StringDefault(java.lang.String s)
Allocate a new object representing the string default value |
Method Summary |
java.lang.Object |
accept(DTDVisitor visitor,
java.lang.Object data)
Accept the visitor |
java.lang.String |
dump(java.lang.String prefix)
|
java.lang.String |
getDefault()
|
(package private) void |
setDefault(java.lang.String s)
Set the default value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringDefault
StringDefault(java.lang.String s)
- Allocate a new object representing the string default value
- Parameters:
s
- the value
getDefault
public java.lang.String getDefault()
- Returns:
- the default value
setDefault
void setDefault(java.lang.String s)
- Set the default value
- Parameters:
s
- the value
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