Package net.ontopia.topicmaps.classify
Class ClassifiableContent
- java.lang.Object
-
- net.ontopia.topicmaps.classify.ClassifiableContent
-
- All Implemented Interfaces:
ClassifiableContentIF
public class ClassifiableContent extends Object implements ClassifiableContentIF
INTERNAL:
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]contentprotected Stringidentifier
-
Constructor Summary
Constructors Constructor Description ClassifiableContent()
-
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.StringgetIdentifier()INTERNAL: Returns an identifier that identifies the classifiable content.voidsetContent(byte[] content)voidsetIdentifier(String identifier)
-
-
-
Field Detail
-
identifier
protected String identifier
-
content
protected byte[] content
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Description copied from interface:ClassifiableContentIFINTERNAL: Returns an identifier that identifies the classifiable content. This could e.g. be the absolute filename or an URI of the resource.- Specified by:
getIdentifierin interfaceClassifiableContentIF
-
setIdentifier
public void setIdentifier(String identifier)
-
getContent
public byte[] getContent()
Description copied from interface:ClassifiableContentIFINTERNAL: Returns the actual bytes in the content of the classiable content.- Specified by:
getContentin interfaceClassifiableContentIF
-
setContent
public void setContent(byte[] content)
-
-