Harvest::Object - represents ``objects'' being gathered | |
| |
SYNOPSIS | |
...
| |
DESCRIPTION | |
| |
METHODS | |
| |
$object = new Object ($rootnode,$url) | |
Create a new ``root'' object. The ``FILTER'' rootnode is a special case, which identifies objects which are being fetched for use purely by the filtering code.
| |
$object = new Object($parent, $url) | |
Create a new object which is a child of the given parent.
| |
$obj1->include($obj2); | |
Import the meta and management data from
| |
$object->url(); | |
Return the URL of the object.
| |
$object->newurl(); | |
Set a new URL for the object, but preserve other information.
| |
$object->rootnode | |
Return the rootnode of the object.
| |
$self->depth | |
Return the depth of the object.
| |
$self->headers | |
Return the Harvest::Object::Headers object which encapsulates the protocol headers sent when this object was transfered.
| |
$self->manage | |
Return the Harvest::Object::Manage object which contains management information for this object
| |
$self->metadata | |
Return the object which contains the metadata representation of this object.
| |
$self->setmeta($metadata) | |
Set the metadata representation of this object to that given in the
| |
$self->parent | |
Return the string representation of the URL of the parent of this object
| |
$self->filter([$arg]) | |
If The filter attribute indicates whether the object is being fetched for a filter | |