Package com.saxonica.ee.schema
Interface SerializableSchemaComponent
- All Known Implementing Classes:
Assertion
,AttributeDecl
,AttributeGroupDecl
,ElementDecl
,IdentityConstraint
,Key
,KeyRef
,ModelGroupDefinition
,Notation
,SimpleTypeDefinition
,Unique
,UserAtomicType
,UserComplexType
,UserListType
,UserSimpleType
,UserUnionType
,Wildcard
public interface SerializableSchemaComponent
A component that can be serialized by the SchemaSerializer.
Most such components are instances of UserSchemaComponent,
but a few, for example Facets, are not.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(SchemaModelSerializer serializer) Serialize the schema component
-
Method Details
-
serialize
Serialize the schema component- Parameters:
serializer
- the object responsible for performing the serialization- Throws:
MissingComponentException
- if the component cannot be serialized because it contains dangling referencesXPathException
- if serialization fails
-