< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xpath/internal/XPathContext.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. --- 1,7 ---- /* ! * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership.
*** 47,65 **** import java.util.Map; import java.util.Stack; import javax.xml.transform.ErrorListener; import javax.xml.transform.SourceLocator; import javax.xml.transform.URIResolver; - import jdk.xml.internal.JdkXmlUtils; import org.xml.sax.XMLReader; /** * Default class for the runtime execution context for XPath. * * <p>This class extends DTMManager but does not directly implement it.</p> * @xsl.usage advanced ! * @LastModified: Oct 2017 */ public class XPathContext extends DTMManager // implements ExpressionContext { IntStack m_last_pushed_rtfdtm=new IntStack(); /** --- 47,64 ---- import java.util.Map; import java.util.Stack; import javax.xml.transform.ErrorListener; import javax.xml.transform.SourceLocator; import javax.xml.transform.URIResolver; import org.xml.sax.XMLReader; /** * Default class for the runtime execution context for XPath. * * <p>This class extends DTMManager but does not directly implement it.</p> * @xsl.usage advanced ! * @LastModified: Jan 2019 */ public class XPathContext extends DTMManager // implements ExpressionContext { IntStack m_last_pushed_rtfdtm=new IntStack(); /**
*** 481,517 **** public final void setVarStack(VariableStack varStack) { m_variableStacks = varStack; } - // ================ SourceTreeManager =================== - - /** The source tree manager, which associates Source objects to source - * tree nodes. */ - private SourceTreeManager m_sourceTreeManager = new SourceTreeManager(); - - /** - * Get the SourceTreeManager associated with this execution context. - * - * @return the SourceTreeManager associated with this execution context. - */ - public final SourceTreeManager getSourceTreeManager() - { - return m_sourceTreeManager; - } - - /** - * Set the SourceTreeManager associated with this execution context. - * - * @param mgr the SourceTreeManager to be associated with this - * execution context. - */ - public void setSourceTreeManager(SourceTreeManager mgr) - { - m_sourceTreeManager = mgr; - } - // ================================================= /** The ErrorListener where errors and warnings are to be reported. */ private ErrorListener m_errorListener; --- 480,489 ----
< prev index next >