Class FileNode

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class FileNode
    extends LeafNode<FileReference>
    Represents a 'file' in a ConfigInstance, usually a filename.
    Author:
    gjoranv
    • Constructor Summary

      Constructors 
      Constructor Description
      FileNode()  
      FileNode​(java.lang.String stringVal)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean doSetValue​(java.lang.String stringVal)  
      java.lang.String getValue()
      Subclasses must implement this, in compliance with the rules given in the return tag.
      java.lang.String toString()
      Subclasses must implement this, in compliance with the rules given in the return tag.
      FileReference value()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FileNode

        public FileNode()
      • FileNode

        public FileNode​(java.lang.String stringVal)
    • Method Detail

      • getValue

        public java.lang.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 class LeafNode<FileReference>
        Returns:
        the String representation of the node value, or the 'null' object if the node value is null.
      • toString

        public java.lang.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 class LeafNode<FileReference>
        Returns:
        the String representation of the node value, or the string "(null)" if the value is null.