Table of Contents

Class: Base ./src/peak/naming/URL.py

Basic scheme/body URL

Base Classes   
Struct
Methods   
__adapt__
__init__
__repr__
__split
__str__
_hashAndCompare
addName
getAuthorityAndName
getCanonicalBody
getURLContext
mdl_fromString
parse
supportsScheme
  __adapt__ 
__adapt__ ( klass,  ob )

Allow address classes to be used as protocols

  __init__ 
__init__ (
        self,
        scheme=None,
        body='',
        **__kw,
        )

Exceptions   
exceptions.InvalidName("Missing %s field in %r" %( f.attrName, __kw ) )
  __repr__ 
__repr__ ( self )

  __split 
__split ( self )

  __str__ 
__str__ ( self )

  _hashAndCompare 
_hashAndCompare ( self )

  addName 
addName ( self,  other )

Exceptions   
TypeError( "Addition not supported for pure address types", self, other )
TypeError( "Only names can be added to URLs", self, other )
  getAuthorityAndName 
getAuthorityAndName ( self )

  getCanonicalBody 
getCanonicalBody ( self )

  getURLContext 
getURLContext (
        klass,
        parent,
        scheme,
        iface,
        componentName=None,
        **options,
        )

  mdl_fromString 
mdl_fromString ( klass,  aName )

  parse 
parse (
        klass,
        scheme,
        body,
        )

  supportsScheme 
supportsScheme ( klass,  scheme )


Table of Contents

This document was automatically generated on Mon Apr 22 01:11:05 2024 by HappyDoc version 2.1