Class SettingsStaxWriter
java.lang.Object
org.apache.maven.settings.v4.SettingsStaxWriter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionField stringFormatter.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetAddLocationInformation(boolean addLocationInformation) Method setAddLocationInformation.voidsetFileComment(String fileComment) Method setFileComment.voidsetNamespace(String namespace) Method setNamespace.voidsetSchemaLocation(String schemaLocation) Method setSchemaLocation.voidsetStringFormatter(Function<org.apache.maven.api.settings.InputLocation, String> stringFormatter) Method setStringFormatter.protected StringtoString(org.apache.maven.api.settings.InputLocation location) Method toString.voidwrite(OutputStream stream, org.apache.maven.api.settings.Settings settings) Method write.voidMethod write.protected voidwriteLocationTracking(org.apache.maven.api.settings.InputLocationTracker locationTracker, Object key, XMLStreamWriter serializer) Method writeLocationTracking.
- 
Field Details- 
stringFormatter
 
- 
- 
Constructor Details- 
SettingsStaxWriterpublic SettingsStaxWriter()
 
- 
- 
Method Details- 
setNamespaceMethod setNamespace.- Parameters:
- namespace- the namespace to use.
 
- 
setSchemaLocationMethod setSchemaLocation.- Parameters:
- schemaLocation- the schema location to use.
 
- 
setFileCommentMethod setFileComment.- Parameters:
- fileComment- a fileComment object.
 
- 
setAddLocationInformationpublic void setAddLocationInformation(boolean addLocationInformation) Method setAddLocationInformation.
- 
setStringFormatter
- 
writepublic void write(Writer writer, org.apache.maven.api.settings.Settings settings) throws IOException, XMLStreamException Method write.- Parameters:
- writer- a writer object
- settings- a Settings object
- Throws:
- IOException- IOException if any
- XMLStreamException
 
- 
writepublic void write(OutputStream stream, org.apache.maven.api.settings.Settings settings) throws IOException, XMLStreamException Method write.- Parameters:
- stream- a stream object
- settings- a Settings object
- Throws:
- IOException- IOException if any
- XMLStreamException
 
- 
writeLocationTrackingprotected void writeLocationTracking(org.apache.maven.api.settings.InputLocationTracker locationTracker, Object key, XMLStreamWriter serializer) throws IOException, XMLStreamException Method writeLocationTracking.- Parameters:
- locationTracker-
- key-
- serializer-
- Throws:
- IOException
- XMLStreamException
 
- 
toStringMethod toString.- Parameters:
- location-
- Returns:
- String
 
 
-