public class ReferenceMappingTransformer extends Object implements org.apache.sling.rewriter.Transformer
Constructor and Description |
---|
ReferenceMappingTransformer(ReferenceMappingTransformerConfig config,
org.apache.sling.caconfig.resource.ConfigurationResourceResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
dispose() |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
init(org.apache.sling.rewriter.ProcessingContext context,
org.apache.sling.rewriter.ProcessingComponentConfiguration cfg) |
void |
processingInstruction(String target,
String data) |
void |
setContentHandler(ContentHandler handler) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts) |
void |
startPrefixMapping(String prefix,
String uri) |
public ReferenceMappingTransformer(ReferenceMappingTransformerConfig config, org.apache.sling.caconfig.resource.ConfigurationResourceResolver resolver)
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void dispose()
dispose
in interface org.apache.sling.rewriter.Transformer
public void init(org.apache.sling.rewriter.ProcessingContext context, org.apache.sling.rewriter.ProcessingComponentConfiguration cfg) throws IOException
init
in interface org.apache.sling.rewriter.Transformer
IOException
public void setContentHandler(ContentHandler handler)
setContentHandler
in interface org.apache.sling.rewriter.Transformer
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.