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[]
content
protected String
identifier
-
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.String
getIdentifier()
INTERNAL: Returns an identifier that identifies the classifiable content.void
setContent(byte[] content)
void
setIdentifier(String identifier)
-
-
-
Field Detail
-
identifier
protected String identifier
-
content
protected byte[] content
-
-
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
-
setIdentifier
public void setIdentifier(String identifier)
-
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
-
setContent
public void setContent(byte[] content)
-
-