public class HTML5Serializer extends Object implements org.apache.sling.rewriter.Serializer
Constructor and Description |
---|
HTML5Serializer(org.apache.sling.caconfig.resource.ConfigurationResourceResolver resolver) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] buffer,
int offset,
int length) |
void |
dispose() |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String name) |
void |
endPrefixMapping(String s) |
void |
ignorableWhitespace(char[] ac,
int i,
int j) |
void |
init(org.apache.sling.rewriter.ProcessingContext context,
org.apache.sling.rewriter.ProcessingComponentConfiguration config) |
void |
processingInstruction(String s,
String s1) |
void |
setDocumentLocator(Locator locator1) |
void |
skippedEntity(String s) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String name,
Attributes atts) |
void |
startPrefixMapping(String s,
String s1) |
public HTML5Serializer(org.apache.sling.caconfig.resource.ConfigurationResourceResolver resolver)
public void characters(char[] buffer, int offset, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void dispose()
dispose
in interface org.apache.sling.rewriter.Serializer
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
SAXException
public void endPrefixMapping(String s) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] ac, int i, int j) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void init(org.apache.sling.rewriter.ProcessingContext context, org.apache.sling.rewriter.ProcessingComponentConfiguration config) throws IOException
init
in interface org.apache.sling.rewriter.Serializer
IOException
public void processingInstruction(String s, String s1) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void setDocumentLocator(Locator locator1)
setDocumentLocator
in interface ContentHandler
public void skippedEntity(String s) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void startPrefixMapping(String s, String s1) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.