fr.gouv.culture.sdx.oai
Class OAIEnvelopStripper
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
fr.gouv.culture.sdx.oai.OAIEnvelopStripper
- All Implemented Interfaces:
- org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.avalon.framework.logger.LogEnabled, org.apache.cocoon.xml.XMLPipe, org.apache.cocoon.xml.XMLProducer, org.apache.excalibur.xml.sax.XMLConsumer, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler
public class OAIEnvelopStripper
- extends org.apache.cocoon.xml.AbstractXMLPipe
OAI elements characterizing a harvest must be removed to recover the original document.
- Author:
- Malo Pichot
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
Method Summary |
void |
characters(char[] chars,
int start,
int length)
Activate the copy of the content if needed |
void |
endElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qualifiedName)
Activate the copy of the end element if needed |
void |
startElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes)
Activate the copy of the start element if needed |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
comment, endCDATA, endDocument, endDTD, 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 |
enableLogging, 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.cocoon.xml.XMLProducer |
setConsumer |
OAIEnvelopStripper
public OAIEnvelopStripper()
characters
public void characters(char[] chars,
int start,
int length)
throws org.xml.sax.SAXException
- Activate the copy of the content if needed
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.apache.cocoon.xml.AbstractXMLPipe
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qualifiedName)
throws org.xml.sax.SAXException
- Activate the copy of the end element if needed
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.apache.cocoon.xml.AbstractXMLPipe
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
- Activate the copy of the start element if needed
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.apache.cocoon.xml.AbstractXMLPipe
- Throws:
org.xml.sax.SAXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.