URI schema field
context
(type: NoneType)
Nonedefault
(type:
ValidatedProperty)
<zope.schema._bootstrapfields.ValidatedProperty object at 0x2aaab2b29710>description
(type:
FieldProperty)
<zope.schema.fieldproperty.FieldProperty object at 0x2aaab2b14b50>interface
(type: NoneType)
Nonemax_length
(type:
FieldProperty)
<zope.schema.fieldproperty.FieldProperty object at 0x2aaab2d47190>min_length
(type:
FieldProperty)
<zope.schema.fieldproperty.FieldProperty object at 0x2aaab2d47150>missing_value
(type: NoneType)
Noneorder
(type:
int)
632readonly
(type:
FieldProperty)
<zope.schema.fieldproperty.FieldProperty object at 0x2aaab2d47110>required
(type:
FieldProperty)
<zope.schema.fieldproperty.FieldProperty object at 0x2aaab2b14b10>title
(type:
FieldProperty)
<zope.schema.fieldproperty.FieldProperty object at 0x2aaab2b14ad0>bind(object)
constraint(value)
fromUnicode(value)
>>> uri = URI(__name__='test')
>>> uri.fromUnicode("http://www.python.org/foo/bar")
'http://www.python.org/foo/bar'
>>> uri.fromUnicode(" http://www.python.org/foo/bar")
'http://www.python.org/foo/bar'
>>> uri.fromUnicode(" \n http://www.python.org/foo/bar\n")
'http://www.python.org/foo/bar'
>>> uri.fromUnicode("http://www.python.org/ foo/bar")
Traceback (most recent call last):
...
InvalidURI: http://www.python.org/ foo/bar
get(object)
getDoc()
Returns the documentation for the object.
getName()
Returns the name of the object.
getTaggedValue(tag)
Returns the value associated with tag.
getTaggedValueTags()
Returns a list of all tags.
query(object, default=None)
queryTaggedValue(tag, default=None)
Returns the value associated with tag.
set(object, value)
setTaggedValue(tag, value)
Associates value with key.
validate(value)
There are no known subclasses.