fr.gouv.culture.sdx.thesaurus
Interface Concept

All Superinterfaces:
org.xml.sax.ContentHandler, Document, IndexableDocument, org.xml.sax.ext.LexicalHandler, org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.xml.XMLConsumer
All Known Implementing Classes:
AbstractConcept

public interface Concept
extends IndexableDocument


Field Summary
static java.lang.String DOCTYPE_CONCEPT
           
 
Fields inherited from interface fr.gouv.culture.sdx.document.Document
DOCTYPE_BINARY, DOCTYPE_GROUP, DOCTYPE_HTML, DOCTYPE_USER, DOCTYPE_XML
 
Method Summary
 void addRelation(java.lang.String relationType, java.lang.String relationValue)
          Adds a relation to the document
 java.lang.String[] getRelations(int type)
          Returns a list of concepts related to this one.
 java.lang.String getValue()
          Returns the document value (name, description, ...).
 java.lang.String getXmlLang()
           
 void setValue(java.lang.String value)
          Sets the term/value of the document
 void setXmlLang(java.lang.String xmlLang)
           
 
Methods inherited from interface fr.gouv.culture.sdx.document.IndexableDocument
addAdditionalSystemFields, getAttachedDocuments, getBoost, getFieldValues, getStoreHandler, getSubDocuments, getTransformedDocument, resetAttachedDocuments, setBoost, setMessageHandler, setTransformedDocument, setTransformedDocument, startIndexing
 
Methods inherited from interface fr.gouv.culture.sdx.document.Document
getDocType, getId, getLength, getMimeType, getPreferredFilename, getRepositoryForStorage, getURL, openStream, save, setContent, setContent, setContent, setContent, setId, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setRepositoryForStorage, setURL
 
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled
enableLogging
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 

Field Detail

DOCTYPE_CONCEPT

public static final java.lang.String DOCTYPE_CONCEPT
See Also:
Constant Field Values
Method Detail

setValue

public void setValue(java.lang.String value)
Sets the term/value of the document

Parameters:
value - The value

getValue

public java.lang.String getValue()
Returns the document value (name, description, ...).


addRelation

public void addRelation(java.lang.String relationType,
                        java.lang.String relationValue)
Adds a relation to the document

Parameters:
relationType - The relation type name or other key
relationValue - The relation value or term

getRelations

public java.lang.String[] getRelations(int type)
Returns a list of concepts related to this one.

Parameters:
type - The relation type.

setXmlLang

public void setXmlLang(java.lang.String xmlLang)

getXmlLang

public java.lang.String getXmlLang()


Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.