org.omnaest.utils.xml
Class XMLHelper.XSLTransformerConfiguration

java.lang.Object
  extended by org.omnaest.utils.xml.XMLHelper.XSLTransformerConfiguration
Enclosing class:
XMLHelper

public static class XMLHelper.XSLTransformerConfiguration
extends Object

Configuration for an TransformerFactory

Author:
Omnaest
See Also:
XMLHelper.transform(StreamSource, StreamSource, StreamResult, ExceptionHandler, XSLTransformerConfiguration)

Constructor Summary
XMLHelper.XSLTransformerConfiguration()
           
 
Method Summary
 XMLHelper.XSLTransformerConfiguration addAttribute(String key, Object value)
           
 XMLHelper.XSLTransformerConfiguration addOutputProperty(String key, String value)
           
 XMLHelper.XSLTransformerConfiguration addParameter(String key, Object value)
           
protected  Map<String,Object> getAttributeMap()
           
protected  Map<String,String> getOutputPropertyMap()
           
protected  Map<String,Object> getParameterMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLHelper.XSLTransformerConfiguration

public XMLHelper.XSLTransformerConfiguration()
Method Detail

addAttribute

public XMLHelper.XSLTransformerConfiguration addAttribute(String key,
                                                          Object value)
Parameters:
key -
value -
Returns:
this
See Also:
TransformerFactory.setAttribute(String, Object)

addParameter

public XMLHelper.XSLTransformerConfiguration addParameter(String key,
                                                          Object value)
Parameters:
key -
value -
Returns:
this
See Also:
Transformer.setParameter(String, Object)

addOutputProperty

public XMLHelper.XSLTransformerConfiguration addOutputProperty(String key,
                                                               String value)
Parameters:
key -
value -
Returns:
this
See Also:
Transformer.setOutputProperty(String, String)

getAttributeMap

protected Map<String,Object> getAttributeMap()

getOutputPropertyMap

protected Map<String,String> getOutputPropertyMap()

getParameterMap

protected Map<String,Object> getParameterMap()


Copyright © 2013. All Rights Reserved.