mn8 Language Reference | Index    

URIHandler

SUMMARY: NO ATTRIBUTES  NO ELEMENTS  CONSTRUCTORS SUMMARY  NO OPERATORS  METHODS SUMMARYDETAIL: NO ATTRIBUTES  NO ELEMENTS  CONSTRUCTOR DETAILS  NO OPERATORS  METHOD DETAILS

Description

The abstract concept URIHandler is the common super concept for all protocol handlers. All protocol handlers must inherit all this concept methods.

Usage

Version: 0.1
Authors:Remus Pereni (http://neuro.nolimits.ro)
Location:
Inherits: Concept
Inherited by: BEEPHandler, EnvHandler, FTPHandler, FileHandler, Google, HttpHandler, MemHandler, SMTPHandler, XMLRPCHandler

Constructor List

create (String $url)
top

Method List

static LogicalacceptsURI (String $uri)
LogicalcloseConnection
ConceptgetContent
Logicalinitialize (Map $options)
LogicalopenConnection
LogicalsetContent (Concept $value)
top
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getErrorHandler, getInheritedConcepts, getResourceURI, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML, setResourceURI

Detailed Constructor Info

create (String $url)
Parameters:
$url :The url with which this URIHandler will be created.

Creates a new URIHandler concept with the given $url.

top

Detailed Method Info

static acceptsURI (String $uri)
Parameters:
$uri : The uri which will be tested if it is acceptable by this handler.
Returns: Logical

Returns true if the given $uri is acceptable by this handler, false otherwise.

top
closeConnection
Returns: Logical

Returns true and close this connection.

top
getContent
Returns: Concept

Returns the content of this handler.

top
initialize (Map $options)
Parameters:
$options : Contains a filter with which the returned content will be filtered.
Returns: Logical

Returns true if the URIHandler was initilized successfully, false otherwise.

top
openConnection
Returns: Logical

Returns false.

top
setContent (Concept $value)
Parameters:
$value :The value to be set.
Returns: Logical

Sets this URIHandler content to the specified $value.

top