package com.ebmwebsourcing.petals.services.xslt.generated;
/******************************************************************************
* Copyright (c) 2008-2013, Linagora
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Linagora - initial API and implementation
*******************************************************************************/
/**
* This class was generated by EMF JET.
* <b>DO NOT MODIFY IT!</b>
* @author Adrien LOUIS - EBM WebSourcing
*/
public class XsltStyleSheet {
protected static String nl;
public static synchronized XsltStyleSheet create(String lineSeparator)
{
nl = lineSeparator;
XsltStyleSheet result = new XsltStyleSheet();
nl = null;
return result;
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">" + NL + "" + NL + "\t<!-- Transform operation -->" + NL + "\t<!-- Replace the root \"transformRequest\" elements and copy their children and attributes. -->" + NL + "\t<!-- This XSL style sheet is synchronized with the generated WSDL! -->" + NL + "\t<xsl:template match=\"*[count(parent::*) = 0 and local-name() = 'transformRequest']\">" + NL + "\t\t<xsl:element name=\"transformResponse\" namespace=\"{namespace-uri()}\">" + NL + "\t\t\t<xsl:copy-of select=\"@* | namespace::*\" />" + NL + "\t\t\t<xsl:copy-of select=\"./*\" />" + NL + "\t\t</xsl:element>" + NL + "\t</xsl:template>\t" + NL + "\t" + NL + "\t<!-- TransformToMtomAttachment operation -->" + NL + "\t<!-- Replace the root \"attachedTransformRequest\" elements and copy their children and attributes. -->" + NL + "\t<!-- This XSL style sheet is synchronized with the generated WSDL! -->" + NL + "\t<xsl:template match=\"*[count(parent::*) = 0 and local-name() = 'attachedTransformRequest']\">" + NL + "\t\t<xsl:element name=\"attachedTransformResponse\" namespace=\"{namespace-uri()}\">" + NL + "\t\t\t<xsl:copy-of select=\"@* | namespace::*\" />" + NL + "\t\t\t<xsl:copy-of select=\"./*\" />" + NL + "\t\t</xsl:element>" + NL + "\t</xsl:template>" + NL + "" + NL + "</xsl:stylesheet>";
protected final String TEXT_2 = NL;
public String generate( Object argument )
{
final StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append(TEXT_1);
stringBuffer.append(TEXT_2);
return stringBuffer.toString();
}
}