rendsite.engine.node
Class Node

java.lang.Object
  extended by rendsite.engine.node.Node
Direct Known Subclasses:
Node_Directory, Node_File, Node_MetaFile, Node_Scope, Node_Time, Node_Value

public class Node
extends java.lang.Object

Crawler node.

Author:
erich Version History
 10NOV09 - EPG - First package release.
 

Constructor Summary
Node(NodeType type)
          Create a node.
 
Method Summary
 java.lang.String getName()
          Get the name.
 NodeType getType()
          Get the node type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(NodeType type)
     throws java.lang.Throwable
Create a node.

Parameters:
type - the node type. It cannot be null.
Throws:
java.lang.Throwable - only if a null is passed as the type.
Method Detail

getType

public NodeType getType()
Get the node type.

Returns:
the type.
See Also:
NodeType

getName

public java.lang.String getName()
Get the name. It'll be nothing or overridden by a sub class.

Returns:
the name. DO NOT USE THIS TO OPEN A FILE!


rendsite.