|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.XMLFilterImpl | +--com.simonstl.ool.OolRemeshSAXFilter
This class converts XML documents which use ool elements and attributes in place of embedded markup back into ordinary XML documents.
Constructor Summary | |
OolRemeshSAXFilter(org.xml.sax.XMLReader parent)
A constructor that takes the parser which will feed it SAX events |
Method Summary | |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Suppresses the end tags of ool elements if necessary. |
boolean |
getSuppressOol()
Lets you see whether or not the oolRemeshSAXFilter is going to suppress (true) or report (false) ool elements and attributes. |
void |
setSuppressOol(boolean _suppressOol)
By default, the OolRemeshSAXFilter removes all the ool elements and attributes. |
void |
setText(java.io.Reader reader)
Sets the text the OolSAXRemeshFilter uses to fill the text back in. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Does most of the work of the filter, adding Characters events where necessary to fill in information represented by ool elements and attributes. |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OolRemeshSAXFilter(org.xml.sax.XMLReader parent)
Method Detail |
public void setSuppressOol(boolean _suppressOol)
public boolean getSuppressOol()
public void setText(java.io.Reader reader) throws java.io.IOException
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in class org.xml.sax.helpers.XMLFilterImpl
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in class org.xml.sax.helpers.XMLFilterImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |