The schema is an objectification of a <schema/> (xsd)
definition. It provides inspection, lookup and type resolution.
|
|
(prefix, uri)
|
|
|
build(self)
Build the schema (object graph) using the root node using the
factory. |
source code
|
|
Schema
|
|
|
|
|
dereference(self)
Instruct all children to perform dereferencing. |
source code
|
|
Schema
|
|
bool
|
custom(self,
ref,
context=None)
Get whether the specified reference is not an (xs) builtin. |
source code
|
|
bool
|
builtin(self,
ref,
context=None)
Get whether the specified reference is an (xs) builtin. |
source code
|
|
Schema
|
instance(self,
root,
baseurl,
options)
Create and return an new schema object using the specified
root and url. |
source code
|
|
|
|
|
|
|
|
|
|
[SchemaObject,...]
|
agrps
A list of attribute group objects.
|
[SchemaObject,...]
|
all
A list of all (includes imported) top level children.
|
[SchemaObject,...]
|
attributes
A list of <attribute/> objects.
|
str
|
baseurl
The base URL for this schema.
|
[SchemaObject,...]
|
children
A list of direct top level children.
|
SchemaCollection
|
container
A schema collection containing this schema.
|
[SchemaObject,...]
|
elements
A list of <element/> objects.
|
bool
|
form_qualified
The flag indicating: (@elementFormDefault).
|
[SchemaObject,...]
|
groups
A list of group objects.
|
[SchemaObject,...]
|
imports
A list of import objects.
|
sax.element.Element
|
root
The root node.
|
{name:SchemaObject}
|
types
A schema types cache.
|