public class LuceneConcept extends AbstractConcept
AbstractIndexableDocument.StoreHandlerSdxObject.ConfigurationNode| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
idKey |
protected org.apache.lucene.document.Document |
luceneDoc |
value, valueKey, xmlLang, xmlLangKey_boost, _currentFieldBoost, _msgHandler, _xmlFieldList, _xmlFieldOutput, _xmlFieldTransformer, attachedDocuments, characterBuffer, contentHandler, currentFieldName, DOC_ATTACHEDOC_ELEMENT_NAME, DOC_FIELD_ELEMENT_NAME, DOC_MSG_ELEMENT_NAME, DOC_NAMESPACE, DOC_ROOT_ELEMENT_NAME, lexicalHandler, nsTable, openSdxDocElems, properties, storeHandler, subDoc, subDocBytes, subDocuments, transformedDoc, withinSdxElement, withinXmlField, xmlConsumeridGenerator, idPrefix, idSuffix, mimeType, storeRepo_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitializedABBREVIATION_SCOPE_NOTE, DOCTYPE_CONCEPT, RELATION_BROADER_TERM, RELATION_BROADER_TERMS, RELATION_EQUIVALENT_TERM, RELATION_NARROWER_TERM, RELATION_PARTIAL_EQIUVALENCE, RELATION_RELATED_TERM, RELATION_USE, RELATION_USED_FOR, TERM, XMLLANGCLASS_NAME_SUFFIX, DOCTYPE_BINARY, DOCTYPE_GROUP, DOCTYPE_HTML, DOCTYPE_USER, DOCTYPE_XMLDEFAULT_ENCODING| Constructor and Description |
|---|
LuceneConcept() |
LuceneConcept(org.apache.lucene.document.Document lDoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(java.lang.String uri,
java.lang.String loc,
java.lang.String raw) |
java.lang.String |
getId() |
java.lang.String[] |
getRelations(int type)
Deprecated.
Should not be used as int/relation string mapping should be handled by
the Thesaurus as it defines the relationship between itself and a Concept, so the
Thesaurus shoud to the int to String conversion before calling getRelations(String type)
|
java.lang.String[] |
getRelations(java.lang.String type)
Returns a list of concept ids related to this one.
|
java.lang.String |
getValue()
Provides the value from a lucene data object if it exists
|
java.lang.String |
getXmlLang()
Provides the xml:lang otherwise it returnts the value of the class variable from a lucene data object if it exists
|
addRelation, getDocType, setValue, setXmlLang, startElementaddAdditionalSystemFields, getLength, getMimeType, openStream, parse, parse, setContent, setTransformedDocument, setTransformedDocument, startIndexingaddAttachedDocument, characters, comment, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, generateId, getAttachedDocuments, getAttachedDocumentsSize, getBoost, getFieldValues, getStoreHandler, getSubDocuments, getSubDocumentsSize, getTransformedDocument, handleDocumentId, ignorableWhitespace, processingInstruction, resetAttachedDocuments, resetFields, setAttachedDocuments, setBoost, setConsumer, setContentHandler, setDocumentLocator, setLexicalHandler, setMessageHandler, setUpdateAttachedDocuments, setUpTransformedDocument, setXMLFieldList, setXMLTransformerHandler, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, updateAttachedDocumentsgetClassNameSuffix, getInputSource, getPreferredFilename, getRepositoryForStorage, getURL, initToSax, initVolatileObjectsToSax, save, setContent, setContent, setContent, setContent, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setPreferredFilename, setRepositoryForStorage, setURLconfigure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getLocale, getLog, getServiceManager, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, toSAX, verifyConfigurationResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAdditionalSystemFields, getAttachedDocuments, getBoost, getFieldValues, getStoreHandler, getSubDocuments, getTransformedDocument, resetAttachedDocuments, setBoost, setMessageHandler, setTransformedDocument, setTransformedDocument, setXMLFieldList, setXMLTransformerHandler, startIndexinggetLength, getMimeType, getPreferredFilename, getRepositoryForStorage, getURL, openStream, save, setContent, setContent, setContent, setContent, setId, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setRepositoryForStorage, setURLgetDescription, setDescriptiongetEncoding, setEncodinggetLocale, setLocalecharacters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingprotected org.apache.lucene.document.Document luceneDoc
protected final java.lang.String idKey
public LuceneConcept()
public LuceneConcept(org.apache.lucene.document.Document lDoc)
public java.lang.String getValue()
public java.lang.String getXmlLang()
getXmlLang in interface LocalizablegetXmlLang in class AbstractSdxObjectpublic java.lang.String[] getRelations(int type)
Concepttype - The relation type.public java.lang.String[] getRelations(java.lang.String type)
Concepttype - The relation type String.public java.lang.String getId()
getId in interface IdentifiablegetId in class AbstractSdxObjectpublic void endElement(java.lang.String uri,
java.lang.String loc,
java.lang.String raw)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class AbstractConceptorg.xml.sax.SAXExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.