Package org.apache.ws.security.util
Class XMLUtils
- java.lang.Object
-
- org.apache.ws.security.util.XMLUtils
-
public class XMLUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XMLUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidElementToStream(org.w3c.dom.Element element, java.io.OutputStream out)static org.xml.sax.InputSourcegetInputSourceFromURI(java.lang.String uri)Utility to get the bytes uri.static java.lang.StringPrettyDocumentToString(org.w3c.dom.Document doc)static org.xml.sax.InputSourcesourceToInputSource(javax.xml.transform.Source source)Utility to get the bytes uri
-
-
-
Method Detail
-
PrettyDocumentToString
public static java.lang.String PrettyDocumentToString(org.w3c.dom.Document doc)
-
ElementToStream
public static void ElementToStream(org.w3c.dom.Element element, java.io.OutputStream out)
-
sourceToInputSource
public static org.xml.sax.InputSource sourceToInputSource(javax.xml.transform.Source source)
Utility to get the bytes uri- Parameters:
source- the resource to get
-
getInputSourceFromURI
public static org.xml.sax.InputSource getInputSourceFromURI(java.lang.String uri)
Utility to get the bytes uri. Does NOT handle authenticated URLs, use getInputSourceFromURI(uri, username, password)- Parameters:
uri- the resource to get
-
-