|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.XMLFilterImpl | +--org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.PreProcessFilter
Preprocess filter for Sitemap Markup language. It looks for PI event other that <?xml-logisheet href="..."> for quoting them; It adds creation-date, file-name and file-path attributes to the root Element; And it quotes the PCDATA based by calling the quote method of the programming language.
Field Summary | |
protected org.apache.log.Logger |
log
|
Constructor Summary | |
SitemapMarkupLanguage.PreProcessFilter(java.lang.String filename,
ProgrammingLanguage language)
|
Method Summary | |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
|
void |
setLogger(org.apache.log.Logger logger)
|
void |
setParent(org.xml.sax.XMLReader reader)
|
void |
startDocument()
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
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, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.log.Logger log
Constructor Detail |
public SitemapMarkupLanguage.PreProcessFilter(java.lang.String filename, ProgrammingLanguage language)
Method Detail |
public void setParent(org.xml.sax.XMLReader reader)
setParent
in class org.xml.sax.helpers.XMLFilterImpl
public void setLogger(org.apache.log.Logger logger)
public void startDocument() throws org.xml.sax.SAXException
startDocument
in class org.xml.sax.helpers.XMLFilterImpl
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in class org.xml.sax.helpers.XMLFilterImpl
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in class org.xml.sax.helpers.XMLFilterImpl
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |