Package com.yahoo.config
Class FileNode
- All Implemented Interfaces:
Cloneable
Represents a 'file' in a
ConfigInstance
, usually a filename.- Author:
- gjoranv
-
Field Summary
Fields inherited from class com.yahoo.config.LeafNode
initialized, value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
doSetValue
(String stringVal) getValue()
Subclasses must implement this, in compliance with the rules given in the return tag.toString()
Subclasses must implement this, in compliance with the rules given in the return tag.value()
Methods inherited from class com.yahoo.config.Node
postInitialize
-
Constructor Details
-
FileNode
public FileNode() -
FileNode
-
-
Method Details
-
value
- Overrides:
value
in classLeafNode<FileReference>
-
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
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
- Specified by:
doSetValue
in classLeafNode<FileReference>
-