Class XMLUtils

java.lang.Object
org.apache.ws.security.util.XMLUtils

public class XMLUtils extends Object
  • Constructor Details

    • XMLUtils

      public XMLUtils()
  • Method Details

    • PrettyDocumentToString

      public static String PrettyDocumentToString(Document doc)
    • ElementToStream

      public static void ElementToStream(Element element, OutputStream out)
    • sourceToInputSource

      public static InputSource sourceToInputSource(Source source)
      Utility to get the bytes uri
      Parameters:
      source - the resource to get
    • getInputSourceFromURI

      public static InputSource getInputSourceFromURI(String uri)
      Utility to get the bytes uri. Does NOT handle authenticated URLs, use getInputSourceFromURI(uri, username, password)
      Parameters:
      uri - the resource to get