|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.oxm.xmlbeans.XmlOptionsFactoryBean
public class XmlOptionsFactoryBean
Factory bean that configures an XMLBeans XmlOptions object and provides it as a bean reference.
XmlBeansMarshaller.
XmlOptions,
setOptions(java.util.Map),
XmlBeansMarshaller.setXmlOptions(org.apache.xmlbeans.XmlOptions)| Constructor Summary | |
|---|---|
XmlOptionsFactoryBean()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
java.lang.Object |
getObject()
Returns the singleton XmlOptions. |
java.lang.Class |
getObjectType()
Returns the class of XmlOptions. |
boolean |
isSingleton()
Returns true. |
void |
setOptions(java.util.Map options)
Sets options on the underlying XmlOptions object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlOptionsFactoryBean()
| Method Detail |
|---|
public java.lang.Object getObject()
throws java.lang.Exception
XmlOptions.
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic java.lang.Class getObjectType()
XmlOptions.
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
true.
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic void setOptions(java.util.Map options)
XmlOptions object. The keys of the supplied map should be one of the
string constants defined in XmlOptions, the values vary per option.
XmlOptions.put(Object,Object),
XmlOptions.SAVE_PRETTY_PRINT,
XmlOptions.LOAD_STRIP_COMMENTS
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||