public class XslTransformer extends Object
| Constructor and Description |
|---|
XslTransformer()
Default constructor
|
XslTransformer(String projectNameIn)
Constructor that sets the project name used to replace variable inside generated
xdoc xml.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProjectName() |
void |
setProjectName(String projectName) |
void |
transform(String xmlDocument,
String transformation,
String outputLocation)
Applies the given XSLT files to the model in the order in which they are found.
|
void |
transform(String xmlDocument,
URL xslt,
String outputLocation)
Applies the given XSLT files to the model in the order in which they are found.
|
public XslTransformer()
public XslTransformer(String projectNameIn)
projectNameIn - public void transform(String xmlDocument, String transformation, String outputLocation)
xmlDocument - The full path of the original XMLtransformation - The full path of the XSLToutputLocation - The full path of the output xdoc XMLpublic void transform(String xmlDocument, URL xslt, String outputLocation)
xmlDocument - The full path of the original XMLxslt - The URL of the XSLToutputLocation - The full path of the output xdoc XMLpublic String getProjectName()
public void setProjectName(String projectName)
projectName - The projectName to set.Copyright © 2006–2014 AndroMDA.org. All rights reserved.