|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.util.TransformerUtil
public class TransformerUtil
Utility to deal with JAXP Transformer
Constructor Summary | |
---|---|
TransformerUtil()
|
Method Summary | |
---|---|
static Transformer |
getStaxSourceToDomResultTransformer()
Get the Custom Stax Source to DOM result transformer that has been written to get over the JDK transformer bugs (JDK6) as well as the issue of Xalan installing its Transformer (which does not support stax). |
static Transformer |
getTransformer()
Get the Default Transformer |
static void |
transform(JAXBContext context,
JAXBElement<?> jaxb,
Result result)
|
static void |
transform(Transformer transformer,
StAXSource stax,
DOMResult result)
Use the transformer to transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformerUtil()
Method Detail |
---|
public static Transformer getTransformer() throws ConfigurationException
ConfigurationException
public static Transformer getStaxSourceToDomResultTransformer() throws ConfigurationException
ConfigurationException
public static void transform(Transformer transformer, StAXSource stax, DOMResult result) throws ParsingException
transformer
- stax
- result
-
ParsingException
public static void transform(JAXBContext context, JAXBElement<?> jaxb, Result result) throws ParsingException
ParsingException
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |