javax.xml.xpath.XPathFunctionResolver Java Examples
The following examples show how to use
javax.xml.xpath.XPathFunctionResolver.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XPathImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
XPathImpl( XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.featureManager = featureManager; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); }
Example #2
Source File: XPathImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * <p>Establishes a function resolver.</p> * * @param resolver XPath function resolver */ public void setXPathFunctionResolver(XPathFunctionResolver resolver) { if ( resolver == null ) { String fmsg = XSLMessages.createXPATHMessage( XPATHErrorResources.ER_ARG_CANNOT_BE_NULL, new Object[] {"XPathFunctionResolver"} ); throw new NullPointerException( fmsg ); } this.functionResolver = resolver; }
Example #3
Source File: JAXPExtensionsProvider.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, FeatureManager featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.isFeatureEnabled(FeatureManager.Feature.ORACLE_ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #4
Source File: XPathExpressionImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver,XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, boolean useServicesMechanism, FeatureManager featureManager ) { this.xpath = xpath; this.prefixResolver = prefixResolver; this.functionResolver = functionResolver; this.variableResolver = variableResolver; this.featureSecureProcessing = featureSecureProcessing; this.useServicesMechanism = useServicesMechanism; this.featureManager = featureManager; }
Example #5
Source File: XPathImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * <p>Establishes a function resolver.</p> * * @param resolver XPath function resolver */ public void setXPathFunctionResolver(XPathFunctionResolver resolver) { if ( resolver == null ) { String fmsg = XSLMessages.createXPATHMessage( XPATHErrorResources.ER_ARG_CANNOT_BE_NULL, new Object[] {"XPathFunctionResolver"} ); throw new NullPointerException( fmsg ); } this.functionResolver = resolver; }
Example #6
Source File: XPathImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
XPathImpl( XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.featureManager = featureManager; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); }
Example #7
Source File: XPathImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
XPathImpl( XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, boolean useServiceMechanism, FeatureManager featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.useServiceMechanism = useServiceMechanism; this.featureManager = featureManager; }
Example #8
Source File: XPathExpressionImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver ) { this(xpath, prefixResolver, functionResolver, variableResolver, false, new JdkXmlFeatures(false)); }
Example #9
Source File: XPathExpressionImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver,XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.xpath = xpath; this.prefixResolver = prefixResolver; this.functionResolver = functionResolver; this.variableResolver = variableResolver; this.featureSecureProcessing = featureSecureProcessing; this.featureManager = featureManager; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); }
Example #10
Source File: JAXPExtensionsProvider.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.getFeature(JdkXmlFeatures.XmlFeature.ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #11
Source File: XPathImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
XPathImpl( XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.featureManager = featureManager; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); }
Example #12
Source File: XPathImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * <p>Establishes a function resolver.</p> * * @param resolver XPath function resolver */ public void setXPathFunctionResolver(XPathFunctionResolver resolver) { if ( resolver == null ) { String fmsg = XSLMessages.createXPATHMessage( XPATHErrorResources.ER_ARG_CANNOT_BE_NULL, new Object[] {"XPathFunctionResolver"} ); throw new NullPointerException( fmsg ); } this.functionResolver = resolver; }
Example #13
Source File: XPathExpressionImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver ) { this(xpath, prefixResolver, functionResolver, variableResolver, false, new JdkXmlFeatures(false)); }
Example #14
Source File: XPathExpressionImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver,XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.xpath = xpath; this.prefixResolver = prefixResolver; this.functionResolver = functionResolver; this.variableResolver = variableResolver; this.featureSecureProcessing = featureSecureProcessing; this.featureManager = featureManager; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); }
Example #15
Source File: JAXPExtensionsProvider.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.getFeature(JdkXmlFeatures.XmlFeature.ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #16
Source File: JAXPExtensionsProvider.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, FeatureManager featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.isFeatureEnabled(FeatureManager.Feature.ORACLE_ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #17
Source File: XPathImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * <p>Establishes a function resolver.</p> * * @param resolver XPath function resolver */ public void setXPathFunctionResolver(XPathFunctionResolver resolver) { if ( resolver == null ) { String fmsg = XSLMessages.createXPATHMessage( XPATHErrorResources.ER_ARG_CANNOT_BE_NULL, new Object[] {"XPathFunctionResolver"} ); throw new NullPointerException( fmsg ); } this.functionResolver = resolver; }
Example #18
Source File: XPathExpressionImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver ) { this(xpath, prefixResolver, functionResolver, variableResolver, false, new JdkXmlFeatures(false)); }
Example #19
Source File: XPathExpressionImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver,XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.xpath = xpath; this.prefixResolver = prefixResolver; this.functionResolver = functionResolver; this.variableResolver = variableResolver; this.featureSecureProcessing = featureSecureProcessing; this.featureManager = featureManager; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); }
Example #20
Source File: XPathImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
XPathImpl( XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, boolean useServiceMechanism, FeatureManager featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.useServiceMechanism = useServiceMechanism; this.featureManager = featureManager; }
Example #21
Source File: JAXPExtensionsProvider.java From Bytecoder with Apache License 2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.getFeature(JdkXmlFeatures.XmlFeature.ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #22
Source File: XPathExpressionImpl.java From Bytecoder with Apache License 2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver) { this(xpath, prefixResolver, functionResolver, variableResolver, false, new JdkXmlFeatures(false)); }
Example #23
Source File: XPathExpressionImpl.java From Bytecoder with Apache License 2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver,XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager) { this.xpath = xpath; this.prefixResolver = prefixResolver; this.functionResolver = functionResolver; this.variableResolver = variableResolver; this.featureSecureProcessing = featureSecureProcessing; this.overrideDefaultParser = featureManager.getFeature( JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER); this.featureManager = featureManager; }
Example #24
Source File: JAXPExtensionsProvider.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, JdkXmlFeatures featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.getFeature(JdkXmlFeatures.XmlFeature.ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #25
Source File: XPathImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
XPathImpl(XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, boolean useServiceMechanism, JdkXmlFeatures featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.useServiceMechanism = useServiceMechanism; this.featureManager = featureManager; }
Example #26
Source File: XPathExpressionImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver,XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver, boolean featureSecureProcessing, boolean useServicesMechanism, FeatureManager featureManager ) { this.xpath = xpath; this.prefixResolver = prefixResolver; this.functionResolver = functionResolver; this.variableResolver = variableResolver; this.featureSecureProcessing = featureSecureProcessing; this.useServicesMechanism = useServicesMechanism; this.featureManager = featureManager; }
Example #27
Source File: XPathExpressionImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver) { this(xpath, prefixResolver, functionResolver, variableResolver, false, true, new JdkXmlFeatures(false)); }
Example #28
Source File: XPathExpressionImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath, JAXPPrefixResolver prefixResolver, XPathFunctionResolver functionResolver, XPathVariableResolver variableResolver ) { this(xpath, prefixResolver, functionResolver, variableResolver, false, true, new FeatureManager()); }
Example #29
Source File: JAXPExtensionsProvider.java From hottub with GNU General Public License v2.0 | 5 votes |
public JAXPExtensionsProvider(XPathFunctionResolver resolver, boolean featureSecureProcessing, FeatureManager featureManager ) { this.resolver = resolver; if (featureSecureProcessing && !featureManager.isFeatureEnabled(FeatureManager.Feature.ORACLE_ENABLE_EXTENSION_FUNCTION)) { this.extensionInvocationDisabled = true; } }
Example #30
Source File: XPathImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
XPathImpl( XPathVariableResolver vr, XPathFunctionResolver fr, boolean featureSecureProcessing, boolean useServiceMechanism, FeatureManager featureManager) { this.origVariableResolver = this.variableResolver = vr; this.origFunctionResolver = this.functionResolver = fr; this.featureSecureProcessing = featureSecureProcessing; this.useServiceMechanism = useServiceMechanism; this.featureManager = featureManager; }