org.apache.ws.security.util
Class XMLUtils

java.lang.Object
  extended byorg.apache.ws.security.util.XMLUtils

public class XMLUtils
extends java.lang.Object


Constructor Summary
XMLUtils()
           
 
Method Summary
static void ElementToStream(org.w3c.dom.Element element, java.io.OutputStream out)
           
static org.xml.sax.InputSource getInputSourceFromURI(java.lang.String uri)
          Utility to get the bytes uri.
static java.lang.String PrettyDocumentToString(org.w3c.dom.Document doc)
           
static org.xml.sax.InputSource sourceToInputSource(javax.xml.transform.Source source)
          Utility to get the bytes uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtils

public XMLUtils()
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


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.