|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.xml.pipeline.EventFilter fi.iki.hsivonen.xml.BlockPassFilter
public class BlockPassFilter
Field Summary | |
---|---|
private static String[] |
BLOCK_ELEMENTS
|
private int |
depth
|
private static String |
XHTML_NS
The XHTML namespace URI |
Fields inherited from class gnu.xml.pipeline.EventFilter |
---|
DECL_HANDLER, FEATURE_URI, LEXICAL_HANDLER, PROPERTY_URI |
Constructor Summary | |
---|---|
BlockPassFilter(gnu.xml.pipeline.EventConsumer next)
|
Method Summary | |
---|---|
void |
characters(char[] arg0,
int arg1,
int arg2)
|
void |
endElement(String arg0,
String arg1,
String arg2)
|
void |
ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
|
private static boolean |
isBlock(String name)
|
void |
processingInstruction(String arg0,
String arg1)
|
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
Methods inherited from class gnu.xml.pipeline.EventFilter |
---|
attributeDecl, bind, chainTo, comment, elementDecl, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, externalEntityDecl, getContentHandler, getDocumentLocator, getDTDHandler, getErrorHandler, getNext, getProperty, internalEntityDecl, notationDecl, setContentHandler, setDocumentLocator, setDTDHandler, setErrorHandler, setProperty, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String XHTML_NS
private static final String[] BLOCK_ELEMENTS
private int depth
Constructor Detail |
---|
public BlockPassFilter(gnu.xml.pipeline.EventConsumer next)
Method Detail |
---|
private static boolean isBlock(String name)
public void characters(char[] arg0, int arg1, int arg2) throws SAXException
characters
in interface ContentHandler
characters
in class gnu.xml.pipeline.EventFilter
SAXException
EventFilter.characters(char[], int, int)
public void endElement(String arg0, String arg1, String arg2) throws SAXException
endElement
in interface ContentHandler
endElement
in class gnu.xml.pipeline.EventFilter
SAXException
EventFilter.endElement(java.lang.String,
java.lang.String, java.lang.String)
public void ignorableWhitespace(char[] arg0, int arg1, int arg2) throws SAXException
ignorableWhitespace
in interface ContentHandler
ignorableWhitespace
in class gnu.xml.pipeline.EventFilter
SAXException
EventFilter.ignorableWhitespace(char[], int, int)
public void processingInstruction(String arg0, String arg1) throws SAXException
processingInstruction
in interface ContentHandler
processingInstruction
in class gnu.xml.pipeline.EventFilter
SAXException
EventFilter.processingInstruction(java.lang.String,
java.lang.String)
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class gnu.xml.pipeline.EventFilter
SAXException
EventFilter.startDocument()
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class gnu.xml.pipeline.EventFilter
SAXException
EventFilter.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |