@Configurable public final class XmlOptionsHelper extends java.lang.Object implements Constructable, Destroyable, Producer<org.apache.xmlbeans.XmlOptions>
| Constructor and Description |
|---|
XmlOptionsHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Cleanup, set XML options to null
|
org.apache.xmlbeans.XmlOptions |
get() |
static XmlOptionsHelper |
getInstance()
Deprecated.
Use injection:
@Inject private Provider<XmlOptioon> xmloptions; ... XmlOptions options = this.xmlOptions.get(); |
org.apache.xmlbeans.XmlOptions |
getXmlOptions()
Get the XML options for SOS 1.0.0
|
void |
init() |
void |
setCharacterEncoding(java.lang.String characterEncoding) |
void |
setEncoderRepository(EncoderRepository encoderRepository) |
void |
setPrettyPrint(boolean prettyPrint) |
@Inject public void setEncoderRepository(EncoderRepository encoderRepository)
public void init()
init in interface Constructablepublic org.apache.xmlbeans.XmlOptions getXmlOptions()
public void destroy()
destroy in interface Destroyablepublic void setPrettyPrint(boolean prettyPrint)
@Setting(value="coding.characterEncoding") public void setCharacterEncoding(java.lang.String characterEncoding)
public org.apache.xmlbeans.XmlOptions get()
@Deprecated public static XmlOptionsHelper getInstance()
@Inject private Provider<XmlOptioon> xmloptions; ... XmlOptions options = this.xmlOptions.get();
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.