storage.support
Class DirectorySchema

java.lang.Object
  extended byorg.nodal.filesystem.DocumentFormat.AutoRegister
      extended bystorage.support.DirectorySchema
All Implemented Interfaces:
DocumentFormat

public final class DirectorySchema
extends DocumentFormat.AutoRegister
implements DocumentFormat


Nested Class Summary
 
Nested classes inherited from class org.nodal.filesystem.DocumentFormat
DocumentFormat.AutoRegister, DocumentFormat.Decoder, DocumentFormat.Encoder, DocumentFormat.Registry
 
Method Summary
 DocumentFormat.Decoder decoder()
          A decoder that will translate an InputStream into a Node graph.
 DocumentFormat.Encoder encoder()
          An encoder that will translate a Node graph into an OutputStream.
 java.lang.String mimeType()
          The MIME type record used to index this schema.
 NodeType rootType()
          The Type of the root node of the document graph for a document of this type.
 
Methods inherited from class org.nodal.filesystem.DocumentFormat.AutoRegister
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

mimeType

public final java.lang.String mimeType()
Description copied from interface: DocumentFormat
The MIME type record used to index this schema.

Specified by:
mimeType in interface DocumentFormat

rootType

public NodeType rootType()
Description copied from interface: DocumentFormat
The Type of the root node of the document graph for a document of this type.

Specified by:
rootType in interface DocumentFormat

encoder

public DocumentFormat.Encoder encoder()
Description copied from interface: DocumentFormat
An encoder that will translate a Node graph into an OutputStream.

Specified by:
encoder in interface DocumentFormat

decoder

public DocumentFormat.Decoder decoder()
Description copied from interface: DocumentFormat
A decoder that will translate an InputStream into a Node graph.

Specified by:
decoder in interface DocumentFormat