net.ontopia.topicmaps.classify
Interface FormatModuleIF

All Known Implementing Classes:
FormatModule, HTMLFormatModule, OOXMLPowerpointFormatModule, OOXMLWordFormatModule, PDFFormatModule, PlainTextFormatModule, PowerPointFormatModule, WordFormatModule, XMLFormatModule

public interface FormatModuleIF

INTERNAL: Interface that encapsulates the support for a given document format.


Method Summary
 boolean matchesContent(ClassifiableContentIF cc)
          INTERNAL: Returns true if the content of the classifiable content is considered to be of the supported format.
 boolean matchesIdentifier(ClassifiableContentIF cc)
          INTERNAL: Returns true if the identifier of the classifiable content is considered to be indicating the supported format.
 void readContent(ClassifiableContentIF cc, TextHandlerIF handler)
          INTERNAL: Reads and analyzes the classifiable content and triggers callbacks on the text handler to identify the text and the structure of the classifiable content.
 

Method Detail

matchesContent

boolean matchesContent(ClassifiableContentIF cc)
INTERNAL: Returns true if the content of the classifiable content is considered to be of the supported format.


matchesIdentifier

boolean matchesIdentifier(ClassifiableContentIF cc)
INTERNAL: Returns true if the identifier of the classifiable content is considered to be indicating the supported format.


readContent

void readContent(ClassifiableContentIF cc,
                 TextHandlerIF handler)
INTERNAL: Reads and analyzes the classifiable content and triggers callbacks on the text handler to identify the text and the structure of the classifiable content.



Copyright © 2000-2012 Ontopia.