Package com.yahoo.config
Class FileNode
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.LeafNode<FileReference>
-
- com.yahoo.config.FileNode
-
- All Implemented Interfaces:
Cloneable
public class FileNode extends LeafNode<FileReference>
Represents a 'file' in aConfigInstance
, usually a filename.- Author:
- gjoranv
-
-
Field Summary
-
Fields inherited from class com.yahoo.config.LeafNode
initialized, value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doSetValue(String stringVal)
String
getValue()
Subclasses must implement this, in compliance with the rules given in the return tag.String
toString()
Subclasses must implement this, in compliance with the rules given in the return tag.FileReference
value()
-
Methods inherited from class com.yahoo.config.Node
postInitialize
-
-
-
-
Constructor Detail
-
FileNode
public FileNode()
-
FileNode
public FileNode(String stringVal)
-
-
Method Detail
-
value
public FileReference value()
- Overrides:
value
in classLeafNode<FileReference>
-
getValue
public String getValue()
Description copied from class:LeafNode
Subclasses must implement this, in compliance with the rules given in the return tag.- Specified by:
getValue
in classLeafNode<FileReference>
- Returns:
- the String representation of the node value, or the 'null' object if the node value is null.
-
toString
public String toString()
Description copied from class:LeafNode
Subclasses must implement this, in compliance with the rules given in the return tag.- Specified by:
toString
in classLeafNode<FileReference>
- Returns:
- the String representation of the node value, or the string "(null)" if the value is null.
-
doSetValue
protected boolean doSetValue(String stringVal)
- Specified by:
doSetValue
in classLeafNode<FileReference>
-
-