|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.identity.federation.core.saml.v2.util.DocumentUtil
public class DocumentUtil
Utility dealing with DOM
| Constructor Summary | |
|---|---|
DocumentUtil()
|
|
| Method Summary | |
|---|---|
static org.w3c.dom.Document |
createDocument()
Create a new document |
static org.w3c.dom.Document |
getDocument(java.io.Reader reader)
Parse a document from a reader |
static org.w3c.dom.Document |
getDocument(java.lang.String docString)
Parse a document from the string |
static java.lang.String |
getDocumentAsString(org.w3c.dom.Document signedDoc)
Marshall a document into a String |
static java.lang.String |
getDOMElementAsString(org.w3c.dom.Element element)
Marshall a DOM Element as string |
static java.io.InputStream |
getNodeAsStream(org.w3c.dom.Node node)
Stream a DOM Node as an input stream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentUtil()
| Method Detail |
|---|
public static org.w3c.dom.Document createDocument()
throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document getDocument(java.lang.String docString)
throws java.lang.Exception
docString -
java.lang.Exception
public static org.w3c.dom.Document getDocument(java.io.Reader reader)
throws java.lang.Exception
reader -
java.lang.Exception
public static java.lang.String getDocumentAsString(org.w3c.dom.Document signedDoc)
throws java.lang.Exception
signedDoc -
java.lang.Exception
public static java.lang.String getDOMElementAsString(org.w3c.dom.Element element)
throws java.lang.Exception
element -
java.lang.Exception
public static java.io.InputStream getNodeAsStream(org.w3c.dom.Node node)
throws java.lang.Exception
node -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||