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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- 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, 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 |
locator
protected Locator locator
LogicsheetFilter
public LogicsheetFilter()
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Receive an object for locating the origin of SAX document events.
- Specified by:
setDocumentLocator
in interface ContentHandler
- Overrides:
setDocumentLocator
in class XMLFilterImpl
- Parameters:
locator
- An object that can return the location of any SAX
document event.
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)
- Specified by:
setParent
in interface XMLFilter
- Overrides:
setParent
in class XMLFilterImpl
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
- Specified by:
startPrefixMapping
in interface ContentHandler
- Overrides:
startPrefixMapping
in class XMLFilterImpl
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.