|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.xml.JAXBXMLHelper.UnmarshallingConfiguration.Configurator
public abstract static class JAXBXMLHelper.UnmarshallingConfiguration.Configurator
A JAXBXMLHelper.UnmarshallingConfiguration.Configurator is able to configure several internal instances like SAXParserFactory, JAXBContext,
Unmarshaller.
To do this override any method available.
Example:
new Configurator()
{
@Override
public void configure( SAXParserFactory saxParserFactory ) throws Exception
{
saxParserFactory.setFeature( XMLConstants.FEATURE_SECURE_PROCESSING, true );
}
}
| Constructor Summary | |
|---|---|
JAXBXMLHelper.UnmarshallingConfiguration.Configurator()
|
|
| Method Summary | |
|---|---|
void |
configure(JAXBContext jaxbContext)
Configures the JAXBContext |
void |
configure(SAXParserFactory saxParserFactory)
Configures the given SAXParserFactory instance |
void |
configure(Unmarshaller unmarshaller)
Configures the Unmarshaller |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAXBXMLHelper.UnmarshallingConfiguration.Configurator()
| Method Detail |
|---|
public void configure(SAXParserFactory saxParserFactory)
throws Exception
SAXParserFactory instance
saxParserFactory -
Exception
public void configure(Unmarshaller unmarshaller)
throws Exception
Unmarshaller
unmarshaller -
Exception
public void configure(JAXBContext jaxbContext)
throws Exception
JAXBContext
jaxbContext -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||