public class PSWriterSettings extends Object implements com.helger.commons.lang.ICloneable<PSWriterSettings>, IPSWriterSettings
PSWriter.| Modifier and Type | Field and Description |
|---|---|
static IPSWriterSettings |
DEFAULT_SETTINGS
The default writer settings to be used when nothing else is specified.
|
| Constructor and Description |
|---|
PSWriterSettings() |
PSWriterSettings(IPSWriterSettings aOther) |
| Modifier and Type | Method and Description |
|---|---|
static com.helger.xml.namespace.MapBasedNamespaceContext |
createNamespaceMapping(PSSchema aSchema)
Helper method to extract the namespace mapping from the provided
Schematron.
|
PSWriterSettings |
getClone() |
com.helger.xml.serialize.write.XMLWriterSettings |
getXMLWriterSettings() |
IPSWriterSettings |
setXMLWriterSettings(com.helger.xml.serialize.write.IXMLWriterSettings aXMLWriterSettings) |
String |
toString() |
public static final IPSWriterSettings DEFAULT_SETTINGS
public PSWriterSettings()
public PSWriterSettings(@Nonnull IPSWriterSettings aOther)
@Nonnull public IPSWriterSettings setXMLWriterSettings(@Nonnull com.helger.xml.serialize.write.IXMLWriterSettings aXMLWriterSettings)
@Nonnull @ReturnsMutableCopy public com.helger.xml.serialize.write.XMLWriterSettings getXMLWriterSettings()
getXMLWriterSettings in interface IPSWriterSettingsnull
.@Nonnull @ReturnsMutableCopy public static com.helger.xml.namespace.MapBasedNamespaceContext createNamespaceMapping(@Nonnull PSSchema aSchema)
aSchema - The schema to extract the namespace context from. May not be
null.null but maybe empty namespace context@Nonnull public PSWriterSettings getClone()
getClone in interface com.helger.commons.lang.ICloneable<PSWriterSettings>Copyright © 2014–2020 Philip Helger. All rights reserved.