org.apache.cocoon.components.language.markup
Class LogicsheetFilter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.apache.cocoon.components.language.markup.LogicsheetFilter
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader
- Direct Known Subclasses:
- XSPExpressionFilter
- public class LogicsheetFilter
- extends XMLFilterImpl
This filter listen for source SAX events, and registers all declared
namespaces into a Map
object.
- Version:
- $Id: LogicsheetFilter.java 306628 2005-10-06 13:10:50Z vgritsenko $
- See Also:
XMLFilter
,
ContentHandler
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, skippedEntity, startDocument, startElement, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogicsheetFilter
public LogicsheetFilter()
setNamespaceMap
public void setNamespaceMap(Map originalNamepaceURIs)
- The filter needs an initialized
Map
object where it
can store the found namespace declarations.
- Parameters:
originalNamepaceURIs
- a initialized Map
instance.
setParent
public void setParent(XMLReader reader)
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
- Throws:
SAXException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.