/** * Get Key Name for this KeyTable * * @return Key name */ public QName getKeyTableName() { return getKeyIterator().getName(); }
/** * Process the source tree to SAX parse events. * @param source The input for the source tree. * * @throws TransformerException */ public void transform(Source source) throws TransformerException { transform(source, true); }
/** * @see org.apache.xalan.transformer.TransformState#getMatchedTemplate() */ public ElemTemplate getMatchedTemplate() { if (m_elemPending) return m_matchedTemplate; else return m_transformer.getMatchedTemplate(); }
/** * Set the content event handler. * * @param handler The new content handler. * @throws java.lang.NullPointerException If the handler * is null. * @see org.xml.sax.XMLReader#setContentHandler */ public void setContentHandler (ContentHandler handler) { m_transformer.setContentHandler(handler); // super.setContentHandler(m_transformer.getResultTreeHandler()); }
/** * @see org.apache.xalan.transformer.TransformState#getCurrentElement() */ public ElemTemplateElement getCurrentElement() { if (m_elemPending) return m_currentElement; else return m_transformer.getCurrentElement(); }
/** * Create a new transformation context for this Templates object. * * @return A Transformer instance, never null. */ public Transformer newTransformer() { return new TransformerImpl(this); }
/** * @see org.apache.xalan.transformer.TransformState#getCurrentTemplate() */ public ElemTemplate getCurrentTemplate() { if (m_elemPending) return m_currentTemplate; else return m_transformer.getCurrentTemplate(); }
/** * Do what needs to be done to shut down the CoRoutine management. */ protected void clearCoRoutine() { clearCoRoutine(null); }
/** * Return the message manager. * * @return The message manager, never null. */ public MsgMgr getMsgMgr() { if (null == m_msgMgr) m_msgMgr = new MsgMgr(this); return m_msgMgr; }
/** * Get a SAX2 ContentHandler for the input. * * @return A valid ContentHandler, which should never be null, as * long as getFeature("http://xml.org/trax/features/sax/input") * returns true. */ public ContentHandler getInputContentHandler() { return getInputContentHandler(false); }
/** * Get the table of counters, for optimized xsl:number support. * * @return The CountersTable, never null. */ public CountersTable getCountersTable() { if (null == m_countersTable) m_countersTable = new CountersTable(); return m_countersTable; }
public void setErrorListener (ErrorListener handler) { m_transformer.setErrorListener(handler); }
/** * Get a TransformerHandler object that can process SAX * ContentHandler events into a Result. * * @return TransformerHandler ready to transform SAX events. * * @throws TransformerConfigurationException */ public TransformerHandler newTransformerHandler() throws TransformerConfigurationException { return new TransformerIdentityImpl(m_isSecureProcessing); }
/** * This will get a snapshot of the current executing context * * * @return TransformSnapshot object, snapshot of executing context * @deprecated This is an internal tooling API that nobody seems to be using */ public TransformSnapshot getSnapshot() { return new TransformSnapshotImpl(this); }
/** * Get Key Name for this KeyTable * * @return Key name */ public QName getKeyTableName() { return getKeyIterator().getName(); }
/** * Process the source tree to the output result. * @param xmlSource The input for the source tree. * @param outputTarget The output source target. * * @throws TransformerException */ public void transform(Source xmlSource, Result outputTarget) throws TransformerException { transform(xmlSource, outputTarget, true); }
/** * @see org.apache.xalan.transformer.TransformState#getMatchedTemplate() */ public ElemTemplate getMatchedTemplate() { if (m_elemPending) return m_matchedTemplate; else return m_transformer.getMatchedTemplate(); }
/** * @see org.apache.xalan.transformer.TransformState#getCurrentElement() */ public ElemTemplateElement getCurrentElement() { if (m_elemPending) return m_currentElement; else return m_transformer.getCurrentElement(); }
/** * Create a new transformation context for this Templates object. * * @return A Transformer instance, never null. */ public Transformer newTransformer() { return new TransformerImpl(this); }
/** * Process the source tree to SAX parse events. * @param source The input for the source tree. * * @throws TransformerException */ public void transform(Source source) throws TransformerException { transform(source, true); }