/** * Produce an SQL Statement Parser based on the incomming query. * * For now we will just create a new object, in the future we may have this * interface cache the queries so that we can take advantage of a preparsed * String. * * If the Inline Parser is not enabled in the Options, no action will be * taken on the parser. This option can be set by the Stylesheet. If the * option is not set or cleared, a default value will be set determined * by the way variables were passed into the system. */ private void parse(XConnection xconn, int override) { // Grab the Feature here. We could maintain it from the Parent Parser // but that may cause problems if a single XConnection wants to maintain // both Inline Variable Statemens along with NON inline variable statements. m_InlineVariables = "true".equals(xconn.getFeature("inline-variables")); if (override == NO_INLINE_PARSER) m_InlineVariables = false; else if (override == INLINE_PARSER) m_InlineVariables = true; if (m_InlineVariables) inlineParser(); }
/** * Produce an SQL Statement Parser based on the incomming query. * * For now we will just create a new object, in the future we may have this * interface cache the queries so that we can take advantage of a preparsed * String. * * If the Inline Parser is not enabled in the Options, no action will be * taken on the parser. This option can be set by the Stylesheet. If the * option is not set or cleared, a default value will be set determined * by the way variables were passed into the system. */ private void parse(XConnection xconn, int override) { // Grab the Feature here. We could maintain it from the Parent Parser // but that may cause problems if a single XConnection wants to maintain // both Inline Variable Statemens along with NON inline variable statements. m_InlineVariables = "true".equals(xconn.getFeature("inline-variables")); if (override == NO_INLINE_PARSER) m_InlineVariables = false; else if (override == INLINE_PARSER) m_InlineVariables = true; if (m_InlineVariables) inlineParser(); }
/** * Produce an SQL Statement Parser based on the incomming query. * * For now we will just create a new object, in the future we may have this * interface cache the queries so that we can take advantage of a preparsed * String. * * If the Inline Parser is not enabled in the Options, no action will be * taken on the parser. This option can be set by the Stylesheet. If the * option is not set or cleared, a default value will be set determined * by the way variables were passed into the system. */ private void parse(XConnection xconn, int override) { // Grab the Feature here. We could maintain it from the Parent Parser // but that may cause problems if a single XConnection wants to maintain // both Inline Variable Statemens along with NON inline variable statements. m_InlineVariables = "true".equals(xconn.getFeature("inline-variables")); if (override == NO_INLINE_PARSER) m_InlineVariables = false; else if (override == INLINE_PARSER) m_InlineVariables = true; if (m_InlineVariables) inlineParser(); }
/** * Produce an SQL Statement Parser based on the incomming query. * * For now we will just create a new object, in the future we may have this * interface cache the queries so that we can take advantage of a preparsed * String. * * If the Inline Parser is not enabled in the Options, no action will be * taken on the parser. This option can be set by the Stylesheet. If the * option is not set or cleared, a default value will be set determined * by the way variables were passed into the system. */ private void parse(XConnection xconn, int override) { // Grab the Feature here. We could maintain it from the Parent Parser // but that may cause problems if a single XConnection wants to maintain // both Inline Variable Statemens along with NON inline variable statements. m_InlineVariables = "true".equals(xconn.getFeature("inline-variables")); if (override == NO_INLINE_PARSER) m_InlineVariables = false; else if (override == INLINE_PARSER) m_InlineVariables = true; if (m_InlineVariables) inlineParser(); }