Package net.ontopia.topicmaps.classify
Class TopicContentPlugin.TopicAsContent
- java.lang.Object
-
- net.ontopia.topicmaps.classify.TopicContentPlugin.TopicAsContent
-
- All Implemented Interfaces:
ClassifiableContentIF
- Enclosing class:
- TopicContentPlugin
public static class TopicContentPlugin.TopicAsContent extends Object implements ClassifiableContentIF
-
-
Constructor Summary
Constructors Constructor Description TopicAsContent(TopicIF topic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContent()
INTERNAL: Returns the actual bytes in the content of the classiable content.String
getIdentifier()
INTERNAL: Returns an identifier that identifies the classifiable content.
-
-
-
Constructor Detail
-
TopicAsContent
public TopicAsContent(TopicIF topic)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Description copied from interface:ClassifiableContentIF
INTERNAL: Returns an identifier that identifies the classifiable content. This could e.g. be the absolute filename or an URI of the resource.- Specified by:
getIdentifier
in interfaceClassifiableContentIF
-
getContent
public byte[] getContent()
Description copied from interface:ClassifiableContentIF
INTERNAL: Returns the actual bytes in the content of the classiable content.- Specified by:
getContent
in interfaceClassifiableContentIF
-
-