Package org.apache.maven.settings.v4
Class SettingsStaxWriter
java.lang.Object
org.apache.maven.settings.v4.SettingsStaxWriter
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidsetAddLocationInformation(boolean addLocationInformation) Method setAddLocationInformation.voidsetFileComment(String fileComment) Method setFileComment.voidsetNamespace(String namespace) Method setNamespace.voidsetSchemaLocation(String schemaLocation) Method setSchemaLocation.voidsetStringFormatter(InputLocation.StringFormatter stringFormatter) Method setStringFormatter.protected StringtoString(InputLocation location) Method toString.voidwrite(OutputStream stream, Settings settings) Method write.voidMethod write.protected voidwriteLocationTracking(InputLocationTracker locationTracker, Object key, XMLStreamWriter serializer) Method writeLocationTracking. 
- 
Field Details
- 
stringFormatter
Field stringFormatter. 
 - 
 - 
Constructor Details
- 
SettingsStaxWriter
public SettingsStaxWriter() 
 - 
 - 
Method Details
- 
setNamespace
Method setNamespace.- Parameters:
 namespace- the namespace to use.
 - 
setSchemaLocation
Method setSchemaLocation.- Parameters:
 schemaLocation- the schema location to use.
 - 
setFileComment
Method setFileComment.- Parameters:
 fileComment- a fileComment object.
 - 
setAddLocationInformation
public void setAddLocationInformation(boolean addLocationInformation) Method setAddLocationInformation. - 
setStringFormatter
Method setStringFormatter.- Parameters:
 stringFormatter-
 - 
write
Method write.- Parameters:
 writer- a writer objectsettings- a Settings object- Throws:
 IOException- IOException if anyXMLStreamException
 - 
write
Method write.- Parameters:
 stream- a stream objectsettings- a Settings object- Throws:
 IOException- IOException if anyXMLStreamException
 - 
writeLocationTracking
protected void writeLocationTracking(InputLocationTracker locationTracker, Object key, XMLStreamWriter serializer) throws IOException, XMLStreamException Method writeLocationTracking.- Parameters:
 locationTracker-key-serializer-- Throws:
 IOExceptionXMLStreamException
 - 
toString
Method toString.- Parameters:
 location-- Returns:
 - String
 
 
 -