|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
fr.gouv.culture.oai.OAIObjectImpl
fr.gouv.culture.oai.AbstractOAIMetadataFormat
fr.gouv.culture.sdx.oai.BasicOAIMetadataFormat
fr.gouv.culture.sdx.oai.SDXOAIMetadataFormat
Nested Class Summary |
Nested classes inherited from class fr.gouv.culture.oai.OAIObject |
OAIObject.Node |
Field Summary | |
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 |
Fields inherited from class fr.gouv.culture.oai.AbstractOAIMetadataFormat |
formatName, metadataMappings, namespace, prefix, rootElement, schemaUrl |
Fields inherited from class fr.gouv.culture.oai.OAIObjectImpl |
_context, logger |
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
Fields inherited from interface fr.gouv.culture.oai.OAIObject |
HTTP_HEADER_NAME_FROM, HTTP_HEADER_NAME_USER_AGENT, NUMBER_RECORDS_PER_RESPONSE, STRING_DATEFORMAT_GRANULARITY_DAY, STRING_DATEFORMAT_GRANULARITY_SECOND |
Constructor Summary | |
SDXOAIMetadataFormat()
Builds the object and sets default values |
Method Summary | |
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 |
Methods inherited from class fr.gouv.culture.sdx.oai.BasicOAIMetadataFormat |
aggregateFields, configurePipeline, endMetadataFormatRootElement, getAddRootAttributePipe, getPipeline, sendAggregatedFields, sendElement, service |
Methods inherited from class fr.gouv.culture.oai.AbstractOAIMetadataFormat |
getMappings, getName, getNamespace, getPrefix, getSchemaUrl, setMappings, setName, setNamespace, setPrefix, setSchemaUrl, startMetadataFormatRootElement, toSAX |
Methods inherited from class fr.gouv.culture.oai.OAIObjectImpl |
contextualize, enableLogging, endElement, getContext, sendElement, sendElementContent, startElement |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
recycle, setConsumer, setContentHandler, setLexicalHandler |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.context.Contextualizable |
contextualize |
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 |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
Field Detail |
public static final java.lang.String VERSION_PATH
public static final java.lang.String DEFAULT_SCHEMA_URL
Constructor Detail |
public SDXOAIMetadataFormat()
Method Detail |
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |