com.saxonica.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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `serialize(SchemaModelSerializer serializer)` Serialize the schema component

- - ### Method Detail

    - #### serialize

          void serialize(SchemaModelSerializer serializer)
                         throws XPathException

      Serialize the schema component
      Parameters:
        `serializer` - the object responsible for performing the serialization
      Throws:
        `XPathException` - if serialization fails

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.