Search in sources :

Example 6 with IntStack

use of org.apache.xml.utils.IntStack in project j2objc by google.

the class SAX2RTFDTM method startDocument.

/**
 * Receive notification of the beginning of a new RTF document.
 *
 * %REVIEW% Y'know, this isn't all that much of a deoptimization. We
 * might want to consider folding the start/endDocument changes back
 * into the main SAX2DTM so we don't have to expose so many fields
 * (even as Protected) and carry the additional code.
 *
 * @throws SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @see org.xml.sax.ContentHandler#startDocument
 */
public void startDocument() throws SAXException {
    // Re-initialize the tree append process
    m_endDocumentOccured = false;
    m_prefixMappings = new java.util.Vector();
    m_contextIndexes = new IntStack();
    m_parents = new IntStack();
    m_currentDocumentNode = m_size;
    super.startDocument();
}
Also used : IntStack(org.apache.xml.utils.IntStack)

Aggregations

IntStack (org.apache.xml.utils.IntStack)6 Vector (java.util.Vector)4 DTM (org.apache.xml.dtm.DTM)4 DTMIterator (org.apache.xml.dtm.DTMIterator)4 XPathContext (org.apache.xpath.XPathContext)4 TransformerException (javax.xml.transform.TransformerException)2 SerializationHandler (org.apache.xml.serializer.SerializationHandler)2 QName (org.apache.xml.utils.QName)2 VariableStack (org.apache.xpath.VariableStack)2 XObject (org.apache.xpath.objects.XObject)2 SAXException (org.xml.sax.SAXException)2