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;
}
java类javax.xml.xpath.XPathFunctionResolver的实例源码
XPathImpl.java 文件源码
项目:infobip-open-jdk-8
阅读 25
收藏 0
点赞 0
评论 0
XPathImpl.java 文件源码
项目:infobip-open-jdk-8
阅读 21
收藏 0
点赞 0
评论 0
/**
* <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;
}
XPathExpressionImpl.java 文件源码
项目:infobip-open-jdk-8
阅读 33
收藏 0
点赞 0
评论 0
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());
}
XPathExpressionImpl.java 文件源码
项目:infobip-open-jdk-8
阅读 25
收藏 0
点赞 0
评论 0
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;
}
XPathImpl.java 文件源码
项目:In-the-Box-Fork
阅读 23
收藏 0
点赞 0
评论 0
/**
* <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;
}
XPathExpressionImpl.java 文件源码
项目:In-the-Box-Fork
阅读 28
收藏 0
点赞 0
评论 0
protected XPathExpressionImpl(org.apache.xpath.XPath xpath,
JAXPPrefixResolver prefixResolver,
XPathFunctionResolver functionResolver,
XPathVariableResolver variableResolver ) {
this.xpath = xpath;
this.prefixResolver = prefixResolver;
this.functionResolver = functionResolver;
this.variableResolver = variableResolver;
this.featureSecureProcessing = false;
}
XPathExpressionImpl.java 文件源码
项目:In-the-Box-Fork
阅读 24
收藏 0
点赞 0
评论 0
protected XPathExpressionImpl(org.apache.xpath.XPath xpath,
JAXPPrefixResolver prefixResolver,
XPathFunctionResolver functionResolver,
XPathVariableResolver variableResolver,
boolean featureSecureProcessing ) {
this.xpath = xpath;
this.prefixResolver = prefixResolver;
this.functionResolver = functionResolver;
this.variableResolver = variableResolver;
this.featureSecureProcessing = featureSecureProcessing;
}
XPathHelper.java 文件源码
项目:ph-commons
阅读 24
收藏 0
点赞 0
评论 0
/**
* Create a new {@link XPath} without any special settings using the default
* {@link XPathFactory}.
*
* @return The created non-<code>null</code> {@link XPath} object
*/
@Nonnull
public static XPath createNewXPath ()
{
return createNewXPath (s_aXPathFactory,
(XPathVariableResolver) null,
(XPathFunctionResolver) null,
(NamespaceContext) null);
}
XPathHelper.java 文件源码
项目:ph-commons
阅读 26
收藏 0
点赞 0
评论 0
/**
* Create a new {@link XPath} without any special settings.
*
* @param aXPathFactory
* The XPath factory object to use. May not be <code>null</code>.
* @return The created non-<code>null</code> {@link XPath} object
*/
@Nonnull
public static XPath createNewXPath (@Nonnull final XPathFactory aXPathFactory)
{
return createNewXPath (aXPathFactory,
(XPathVariableResolver) null,
(XPathFunctionResolver) null,
(NamespaceContext) null);
}
XPathHelper.java 文件源码
项目:ph-commons
阅读 24
收藏 0
点赞 0
评论 0
/**
* Create a new {@link XPath} with the passed namespace context using the
* default {@link XPathFactory}.
*
* @param aNamespaceContext
* Namespace context to be used. May be <code>null</code>.
* @return The created non-<code>null</code> {@link XPath} object
*/
@Nonnull
public static XPath createNewXPath (@Nullable final NamespaceContext aNamespaceContext)
{
return createNewXPath (s_aXPathFactory,
(XPathVariableResolver) null,
(XPathFunctionResolver) null,
aNamespaceContext);
}