Returns the "scope", if any, wrapped in an Option.
Returns the "scope", if any, wrapped in an Option.
That is, if this attribute declaration is not a reference, and has a complex type definition as ancestor, that complex type definition is returned as indexed.Elem, wrapped in an Option. In all other cases, None is returned.
Returns the target namespace of the schema component, if any, wrapped in an Option.
Returns the target namespace of the schema component, if any, wrapped in an Option.
Some types of schema component do not have the notion of a target namespace (in which case None is returned), but most do (whether it is defined or not).
Returns wrappedElem.elemPath
Returns wrappedElem.elemPath
Returns the EName
by combining the target namespace and the value of the "name" attribute,
if any, wrapped in an Option.
Returns true if this SchemaObject has the same wrappedElem
as the passed object, if it is also a SchemaObject.
Returns true if this SchemaObject has the same wrappedElem
as the passed object, if it is also a SchemaObject.
Returns all attribute declarations obeying the given predicate (excluding self).
Returns all attribute declarations obeying the given predicate (excluding self).
Returns all element declarations obeying the given predicate (excluding self).
Returns all element declarations obeying the given predicate (excluding self).
Returns all type declarations obeying the given predicate (excluding self).
Returns all type declarations obeying the given predicate (excluding self).
Returns all attribute declarations inside this SchemaObject (excluding self).
Returns all attribute declarations inside this SchemaObject (excluding self).
Returns all element declarations inside this SchemaObject (excluding self).
Returns all element declarations inside this SchemaObject (excluding self).
Returns all type definitions inside this SchemaObject (excluding self).
Returns all type definitions inside this SchemaObject (excluding self).
Returns all topmost attribute declarations inside this SchemaObject (excluding self) obeying the given predicate.
Returns all topmost attribute declarations inside this SchemaObject (excluding self) obeying the given predicate. Note that "topmost" is not the same as "global" (which only makes sense for the Schema object).
Returns all topmost element declarations inside this SchemaObject (excluding self) obeying the given predicate.
Returns all topmost element declarations inside this SchemaObject (excluding self) obeying the given predicate. Note that "topmost" is not the same as "global" (which only makes sense for the Schema object).
Returns all topmost type declarations inside this SchemaObject (excluding self) obeying the given predicate.
Returns all topmost type declarations inside this SchemaObject (excluding self) obeying the given predicate. Note that "topmost" is not the same as "global" (which only makes sense for the Schema object).
Returns wrappedElem.hashCode
Returns wrappedElem.hashCode
Returns the value of the 'id' attribute, if any, wrapped in an Option.
Returns true if and only if the attribute declaration has the schema element as its parent.
Returns true if and only if the attribute declaration has the schema element as its parent.
Attribute references are not considered global, because their parent is not the schema element, but they do always refer to global attribute declarations.
Returns true if and only if the attribute declaration is a reference to another (global) attribute declaration.
Returns true if and only if the attribute declaration is a reference to another (global) attribute declaration. Top level attribute declarations are never references.
Returns the value of the "name" attribute, if any, wrapped in an Option.
Returns the value of the 'ref' attribute as expanded name, if any, wrapped in an Option.
Returns wrappedElem.rootElem
Returns wrappedElem.rootElem
Returns the value of the 'type' attribute as expanded name, if any, wrapped in an Option.
Returns the optional URI of this element, containing the id attribute value as URI fragment, if any.
Returns the optional URI of this element, containing the id attribute value as URI fragment, if any. If the id attribute is absent, None is returned.
Attribute declaration or attribute reference. That is, the "xs:attribute" XML element.