Class Utils
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.Utils
Miscellaneous static utility methods for use in JSR 105 RI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
getBoolean
(XMLCryptoContext xc, String name) static String
Returns the ID from a same-document URI (ex: "#id")static byte[]
static boolean
sameDocumentURI
(String uri) Returns true if uri is a same-document URI, false otherwise.(package private) static boolean
Converts an Iterator to a Set of Nodes, according to the XPath Data Model.
-
Constructor Details
-
Utils
private Utils()
-
-
Method Details
-
readBytesFromStream
- Throws:
IOException
-
toNodeSet
Converts an Iterator to a Set of Nodes, according to the XPath Data Model.- Parameters:
i
- the Iterator- Returns:
- the Set of Nodes
-
parseIdFromSameDocumentURI
Returns the ID from a same-document URI (ex: "#id") -
sameDocumentURI
Returns true if uri is a same-document URI, false otherwise. -
secureValidation
-
getBoolean
-