/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
Iterator<K> newKeyIterator() { return new KeyIterator(); } Iterator<V> newValueIterator() { return new ValueIterator(); } Iterator<Map.Entry<K,V>> newEntryIterator() { return new EntryIterator(); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }
/** * Build a keys table. * @param doc The owner document key. * @param nscontext The stylesheet's namespace context. * @param name The key name * @param keyDeclarations The stylesheet's xsl:key declarations. * * @throws javax.xml.transform.TransformerException */ public KeyTable( int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt) throws javax.xml.transform.TransformerException { m_docKey = doc; m_keyDeclarations = keyDeclarations; KeyIterator ki = new KeyIterator(name, keyDeclarations); m_keyNodes = new XNodeSet(ki); m_keyNodes.allowDetachToRelease(false); m_keyNodes.setRoot(doc, xctxt); }