Package com.saxonica.ee.schema
Class SingleNamespaceSchema
java.lang.Object
com.saxonica.ee.schema.PreparedSchema
com.saxonica.ee.schema.SingleNamespaceSchema
- All Implemented Interfaces:
NotationSet
A schema (collection of schema components) that has an identifiable target namespace: typically
the set of components derived from a single import or include. It is not actually necessary that
all the components should belong to this target namespace. In the specification, this is "the schema
corresponding to some schema document".
-
Field Summary
Fields inherited from class com.saxonica.ee.schema.PreparedSchema
NAMESPACE_KNOWN, NAMESPACE_SEALED, NAMESPACE_UNDER_CONSTRUCTION, NAMESPACE_UNKNOWN
-
Constructor Summary
ConstructorsConstructorDescriptionSingleNamespaceSchema
(EnterpriseConfiguration config, NamespaceUri targetNamespace) -
Method Summary
Modifier and TypeMethodDescriptionReturns the target namespace for this Schema, or "" if the schema is a no-namespace schema.void
setTargetNamespace
(NamespaceUri targetNamespace) Sets the target namespace for this SchemaMethods inherited from class com.saxonica.ee.schema.PreparedSchema
addAnonymousType, addAttributeDecl, addAttributeGroup, addComponent, addElementDecl, addGlobalParam, addGroup, addIdentityConstraint, addNotation, addType, copyTo, getAllAttributeGroups, getAllModelGroups, getAllNotations, getAllTypes, getAttributeDecl, getAttributeDecl, getAttributeDeclarations, getAttributeGroup, getConfiguration, getElementDecl, getElementDecl, getElementDeclarations, getExtensionsOfBuiltInType, getGlobalParam, getGlobalParams, getGroup, getIdentityConstraint, getIdentityConstraints, getLocalLicenseId, getNamePool, getNotation, getSchemaType, getSimpleType, getTargetNamespaces, getType, isDeclaredNotation, merge, registerExtensionOfBuiltInType, setConfiguration, setLocalLicenseId, validate, validateReference
-
Constructor Details
-
SingleNamespaceSchema
-
-
Method Details
-
setTargetNamespace
Sets the target namespace for this Schema- Parameters:
targetNamespace
- the target namespace for this Schema- See Also:
-
getTargetNamespace
Returns the target namespace for this Schema, or "" if the schema is a no-namespace schema.- Returns:
- the target namespace for this Schema, or "" if the schema is a no-namespace schema.
-