|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.xml.TransformUtilities
public class TransformUtilities
Provides convenience methods for XML transformation using XSLT.
Method Summary | |
---|---|
static TransformUtilities |
getInstance()
Return the singleton instance. |
DOMResult |
transform(Document xmlDoc,
Document xsltDoc)
Transform the given XML using the given XSLT. |
DOMResult |
transform(Source xmlSource,
Source xsltSource)
Transform the given XML using the given XSLT. |
DOMResult |
transform(String xml,
String xslt)
Transform the given XML using the given XSLT. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TransformUtilities getInstance()
public DOMResult transform(Document xmlDoc, Document xsltDoc)
xmlDoc
- XML document.xsltDoc
- XSLT document.
DOMResult
of the transformation.public DOMResult transform(String xml, String xslt)
xml
- XML string.xslt
- XSLT string.
DOMResult
of the transformation.public DOMResult transform(Source xmlSource, Source xsltSource)
xmlSource
- XML source.xsltSource
- XSLT source.
DOMResult
of the transformation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |