public interface SchemaDeclaration
Modifier and Type | Method and Description |
---|---|
StructuredQName |
getComponentName()
Get the name of the schema component
|
int |
getFingerprint()
Get the name of the schema component
|
SchemaType |
getType()
Get the simple or complex type associated with the element or attribute declaration
|
boolean |
hasTypeAlternatives()
Determine, in the case of an Element Declaration, whether there are type alternatives defined
|
boolean |
isAbstract()
Determine, in the case of an Element Declaration, whether the declaration is abstract
|
boolean |
isNillable()
Determine, in the case of an Element Declaration, whether it is nillable.
|
NodeTest |
makeSchemaNodeTest()
Create a NodeTest that implements the semantics of schema-element(name) or
schema-attribute(name) applied to this element or attribute declaration.
|
int getFingerprint()
StructuredQName getComponentName()
SchemaType getType() throws MissingComponentException
MissingComponentException
NodeTest makeSchemaNodeTest() throws MissingComponentException
MissingComponentException
- if the type of the declaration is not present in the schema.boolean isNillable()
boolean isAbstract()
boolean hasTypeAlternatives()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.