|
||||||||||
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.HeadingShiftFilter
public class HeadingShiftFilter
Field Summary | |
---|---|
private static String[] |
HEADING_TARGETS
|
private static String[] |
HEADINGS
|
private int |
offset
|
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 | |
---|---|
HeadingShiftFilter(gnu.xml.pipeline.EventConsumer next,
int offset)
|
Method Summary | |
---|---|
void |
endElement(String ns,
String local,
String q)
|
private String |
mapName(String name)
|
void |
startElement(String ns,
String local,
String q,
Attributes attrs)
|
Methods inherited from class gnu.xml.pipeline.EventFilter |
---|
attributeDecl, bind, chainTo, characters, comment, elementDecl, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, externalEntityDecl, getContentHandler, getDocumentLocator, getDTDHandler, getErrorHandler, getNext, getProperty, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, setContentHandler, setDocumentLocator, setDTDHandler, setErrorHandler, setProperty, skippedEntity, startCDATA, startDocument, 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 String[] HEADINGS
private static String[] HEADING_TARGETS
private int offset
Constructor Detail |
---|
public HeadingShiftFilter(gnu.xml.pipeline.EventConsumer next, int offset)
Method Detail |
---|
private String mapName(String name)
public void endElement(String ns, String local, String q) 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 startElement(String ns, String local, String q, Attributes attrs) 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 |