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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
serialize(SchemaModelSerializer serializer)
Serialize the schema component
-
-
-
Method Detail
-
serialize
void serialize(SchemaModelSerializer serializer) throws MissingComponentException, XPathException
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
-
-