public class XHTMLFilter.DeblockFilter extends Object implements ContentHandler
| Constructor and Description |
|---|
DeblockFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(String blockElement,
String unnested) |
void |
characters(char[] arg0,
int arg1,
int arg2) |
void |
endDocument() |
void |
endElement(String arg0,
String arg1,
String arg2)
When we get to the end element, pop the Stack element off the stack.
|
void |
endPrefixMapping(String arg0) |
void |
ignorableWhitespace(char[] arg0,
int arg1,
int arg2) |
void |
processingInstruction(String arg0,
String arg1) |
void |
setBlockElements(Map blockElements) |
void |
setContentHandler(ContentHandler ch) |
void |
setDocumentLocator(Locator arg0) |
void |
skippedEntity(String arg0) |
void |
startDocument() |
void |
startElement(String ns,
String qname,
String lname,
Attributes atts)
Check each element to see if its in a list of elements which is
should not be inside If it is one of these elements, get a list of
elements, and unwind to that it is not inside the stack
|
void |
startPrefixMapping(String arg0,
String arg1) |
public void setContentHandler(ContentHandler ch)
public void setBlockElements(Map blockElements)
public void startElement(String ns, String qname, String lname, Attributes atts) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String arg0, String arg1, String arg2) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void characters(char[] arg0,
int arg1,
int arg2)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String arg0, String arg1) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void skippedEntity(String arg0) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic void setDocumentLocator(Locator arg0)
setDocumentLocator in interface ContentHandlerpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String arg0, String arg1) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String arg0) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionCopyright © 2003–2018 Sakai Project. All rights reserved.