mn8 Language Reference | Index    

URI

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

Description

This concept able to get protocol handler for your specified URL.
This concept knows how to make connection for particular protocol type, such as file, http, ftp, beep, xmlrpc, smtp or pop3.

Usage

Version: 0.1
Authors:Remus Pereni (http://neuro.nolimits.ro)
Location:
Inherits: Concept

Attribute List

 @contentType TYPEOF Integer LABEL "contentType"
 @length TYPEOF Integer LABEL "length"
 @uri TYPEOF String LABEL "uri"
top

Element List

 options TYPEOF Map LABEL "options"
top

Constructor List

create (String $url)
top

Method List

URIHandlergetURIHandler
setUri (String $url)
static StringurlDecode (String $value)
static StringurlEncode (String $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 Attribute Info

@contentType

Label:contentType
Type:Integer
Is Static:false
Is Hidden:false
Show Empty:true

An Integer indicating this URI content type.

top

@length

Label:length
Type:Integer
Is Static:false
Is Hidden:false
Show Empty:true

An Integer indicating this URI length.

top

@uri

Label:uri
Type:String
Is Static:false
Is Hidden:false
Show Empty:true

A String indicating this URI value.

top

Detailed Element Info

options

Label:options
Type:Map
Is Static:false
Is Hidden:false
Is Multi:false
Show Empty:true

A Map containing this URI options.

top

Detailed Constructor Info

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

Creates a new URI concept with the given $url.

top

Detailed Method Info

getURIHandler
Returns: URIHandler

Returns the URIHandler for this URI.

top
setUri (String $url)
Parameters:
$url :The new url to be set.
Returns:

Sets this URI concept url to the specified value.

top
static urlDecode (String $value)
Parameters:
$value :The string to decode.
Returns: String

Returns the decoded value of the given $value.

top
static urlEncode (String $value)
Parameters:
$value :The string to encode.
Returns: String

Returns the encoded value of the given $value.

top