Package com.day.cq.rewriter.htmlparser
Class SAXWriter
java.lang.Object
com.day.cq.rewriter.htmlparser.SAXWriter
- All Implemented Interfaces:
Serializer,ContentHandler
Deprecated.
Use the Apache Sling Html Serializer instead.
Writer passed on to other Sling components. Removes or marks bad links
in HTML data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] buffer, int offset, int length) Deprecated.Called by HtmlParser if character data and tags are to be output for which no special handling is necessary.voidDeprecated.voidendElement(String uri, String localName, String name) Deprecated.voidendPrefixMapping(String prefix) Deprecated.voidignorableWhitespace(char[] ch, int start, int length) Deprecated.voidinit(ProcessingContext pipelineContext, ProcessingComponentConfiguration config) Deprecated.Initialize this component.voidprocessingInstruction(String target, String data) Deprecated.voidsetDocumentLocator(Locator locator) Deprecated.voidskippedEntity(String name) Deprecated.voidDeprecated.voidstartElement(String uri, String localName, String name, Attributes atts) Deprecated.voidstartPrefixMapping(String prefix, String uri) Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
SAXWriter
public SAXWriter()Deprecated.
-
-
Method Details
-
init
public void init(ProcessingContext pipelineContext, ProcessingComponentConfiguration config) throws IOException Deprecated.Description copied from interface:SerializerInitialize this component.- Specified by:
initin interfaceSerializer- Parameters:
pipelineContext- The invocation context.config- The configuration for this component.- Throws:
IOException-IOException- See Also:
-
endDocument
Deprecated.- Specified by:
endDocumentin interfaceContentHandler- Throws:
SAXException- See Also:
-
startElement
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException Deprecated.- Specified by:
startElementin interfaceContentHandler- Throws:
SAXException- See Also:
-
endElement
Deprecated.- Specified by:
endElementin interfaceContentHandler- Throws:
SAXException- See Also:
-
characters
Deprecated.Called by HtmlParser if character data and tags are to be output for which no special handling is necessary.- Specified by:
charactersin interfaceContentHandler- Parameters:
buffer- Character dataoffset- Offset where character data startslength- The length of the character data- Throws:
SAXException
-
endPrefixMapping
Deprecated.- Specified by:
endPrefixMappingin interfaceContentHandler- Throws:
SAXException- See Also:
-
ignorableWhitespace
Deprecated.- Specified by:
ignorableWhitespacein interfaceContentHandler- Throws:
SAXException- See Also:
-
processingInstruction
Deprecated.- Specified by:
processingInstructionin interfaceContentHandler- Throws:
SAXException- See Also:
-
setDocumentLocator
Deprecated.- Specified by:
setDocumentLocatorin interfaceContentHandler- See Also:
-
skippedEntity
Deprecated.- Specified by:
skippedEntityin interfaceContentHandler- Throws:
SAXException- See Also:
-
startDocument
Deprecated.- Specified by:
startDocumentin interfaceContentHandler- Throws:
SAXException- See Also:
-
startPrefixMapping
Deprecated.- Specified by:
startPrefixMappingin interfaceContentHandler- Throws:
SAXException- See Also:
-