public class SDXOAIMetadataFormat extends BasicOAIMetadataFormat
OAIObject.Node
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_SCHEMA_URL
Path to the schema defining this metadata format
|
static java.lang.String |
VERSION_PATH
Sub path of sdx web documentation
|
aggregatedFields, ATTRIBUTE_NAME_METADATA_PREFIX, ATTRIBUTE_NAME_NAME, ATTRIBUTE_NAME_NAMESPACE, ATTRIBUTE_NAME_REPEATED, ATTRIBUTE_NAME_ROOT_ELEMENT, ATTRIBUTE_NAME_SCHEMA_URL, ATTRIBUTE_NAME_SDXFIELD, ATTRIBUTE_NAME_SEPARATOR, ATTRIBUTE_VALUE_CONCATENATE, concatenateFields, DEFAULT_CONCATENATED_FIELD_SEPARATOR, ELEMENT_NAME_OAI_FIELD, ELEMENT_NAME_OAI_FIELDS, manager, pipe
formatName, metadataMappings, namespace, prefix, rootElement, schemaUrl
_context, logger
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
HTTP_HEADER_NAME_FROM, HTTP_HEADER_NAME_USER_AGENT, NUMBER_RECORDS_PER_RESPONSE, STRING_DATEFORMAT_GRANULARITY_DAY, STRING_DATEFORMAT_GRANULARITY_SECOND
Constructor and Description |
---|
SDXOAIMetadataFormat()
Builds the object
and sets default values
|
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configures this object
(no pipeline configuration accepted)
|
protected void |
configureFields(org.apache.avalon.framework.configuration.Configuration configuration)
Configures the field mappings
|
protected void |
prepareAndSendElement(java.lang.String origName,
java.lang.String value)
Sends and element to the objects consumer
respecting the sdx oai metadata format
|
aggregateFields, configurePipeline, endMetadataFormatRootElement, getAddRootAttributePipe, getPipeline, sendAggregatedFields, sendElement, service
getMappings, getName, getNamespace, getPrefix, getSchemaUrl, setMappings, setName, setNamespace, setPrefix, setSchemaUrl, startMetadataFormatRootElement, toSAX
contextualize, enableLogging, endElement, getContext, sendElement, sendElementContent, startElement
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping
recycle, setConsumer, setContentHandler, setLexicalHandler
getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
public static final java.lang.String VERSION_PATH
public static final java.lang.String DEFAULT_SCHEMA_URL
public SDXOAIMetadataFormat()
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
configure
in class BasicOAIMetadataFormat
configuration
- org.apache.avalon.framework.configuration.ConfigurationException
protected void configureFields(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configureFields
in class BasicOAIMetadataFormat
configuration
- org.apache.avalon.framework.configuration.ConfigurationException
protected void prepareAndSendElement(java.lang.String origName, java.lang.String value) throws org.xml.sax.SAXException
prepareAndSendElement
in class AbstractOAIMetadataFormat
origName
- value
- org.xml.sax.SAXException
AbstractOAIMetadataFormat.metadataMappings
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.