Java Code Examples for com.sun.org.apache.xml.internal.security.utils.XMLUtils#selectNodeText()
The following examples show how to use
com.sun.org.apache.xml.internal.security.utils.XMLUtils#selectNodeText() .
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: XPathFilterCHGPContainer.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 2
Source File: XPathFilterCHGPContainer.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 3
Source File: XPathFilterCHGPContainer.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 4
Source File: XPathFilterCHGPContainer.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 5
Source File: XPathFilterCHGPContainer.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 6
Source File: XPathFilterCHGPContainer.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 7
Source File: XPathFilterCHGPContainer.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 8
Source File: XPathFilterCHGPContainer.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 9
Source File: XPathFilterCHGPContainer.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 10
Source File: XPathFilterCHGPContainer.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 11
Source File: XPathFilterCHGPContainer.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 12
Source File: XPathFilterCHGPContainer.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 13
Source File: XPathFilterCHGPContainer.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 14
Source File: XPathFilterCHGPContainer.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }
Example 15
Source File: XPathFilterCHGPContainer.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
/** * Returns the first Text node which contains information from the XPath * Filter String. We must use this stupid hook to enable the here() function * to work. * * $todo$ I dunno whether this crashes: <XPath> he<!-- comment -->re()/ds:Signature[1]</XPath> * @param type * @return the first Text node which contains information from the XPath 2 Filter String */ private Node getHereContextNode(String type) { if (this.length(this.getBaseNamespace(), type) != 1) { return null; } return XMLUtils.selectNodeText( this.constructionElement.getFirstChild(), this.getBaseNamespace(), type, 0 ); }