jInfer

cz.cuni.mff.ksi.jinfer.base.interfaces.nodes
Interface ContentNode

All Superinterfaces:
NamedNode
All Known Implementing Classes:
Attribute, SimpleData

public interface ContentNode
extends NamedNode

Interface representing nodes, that have content. Both text nodes and attributes have content, so they implement this interface.


Method Summary
 List<String> getContent()
          General way o describing content of node.
 String getContentType()
          General way o describing content of node.
 
Methods inherited from interface cz.cuni.mff.ksi.jinfer.base.interfaces.nodes.NamedNode
getContext, getMetadata, getName
 

Method Detail

getContentType

String getContentType()
General way o describing content of node. Reserved for further extensibility by content analyzing module developers.

Returns:
future developer defined name of content type.

getContent

List<String> getContent()
General way o describing content of node. Reserved for further extensibility by content analyzing module developers. At initial crawling, each content node may have only one element in this list. Inferrence methods can take advantage of list by groups similar contents to one node.

Returns:
list of strings - content assigned to this node.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011