| java.lang.Object biz.hammurapi.util.ClassTransformerFactory
ClassTransformerFactory | public class ClassTransformerFactory (Code) | | Finds class stylesheet and transforms given
object using the stylesheet.
author: Pavel Vlasov |
transform | public void transform(Object object, String rootName, String profile, Locale locale, Context expandContext, Properties parameters, Result out) throws TransformerException, ParserConfigurationException, FactoryConfigurationError, TransformerConfigurationException, TransformerFactoryConfigurationError, IOException(Code) | | Transforms object using object's class stylesheet. Collections are treated differently - for them
a stylesheet of the first element with profile 'list' is used if profile is null. If there are no
elements in the collection or if a stylesheet is not found then ClassTransformerFactory!list stylesheet is used.
Parameters: object - Parameters: profile - Parameters: locale - Parameters: parameters - Parameters: out - throws: TransformerException - throws: FactoryConfigurationError - throws: ParserConfigurationException - throws: TransformerFactoryConfigurationError - throws: IOException - throws: TransformerConfigurationException - |
|
|