Package org.apache.maven.internal.impl
Class DefaultToolchainsXmlFactory
java.lang.Object
org.apache.maven.internal.impl.DefaultToolchainsXmlFactory
- All Implemented Interfaces:
Service
,ToolchainsXmlFactory
,XmlFactory<org.apache.maven.api.toolchain.PersistedToolchains>
@Named
@Singleton
public class DefaultToolchainsXmlFactory
extends Object
implements ToolchainsXmlFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.api.toolchain.PersistedToolchains
read
(XmlReaderRequest request) void
write
(XmlWriterRequest<org.apache.maven.api.toolchain.PersistedToolchains> request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.services.xml.XmlFactory
fromXmlString, read, read, read, read, read, read, toXmlString, write, write, write
-
Constructor Details
-
DefaultToolchainsXmlFactory
public DefaultToolchainsXmlFactory()
-
-
Method Details
-
read
public org.apache.maven.api.toolchain.PersistedToolchains read(@Nonnull XmlReaderRequest request) throws XmlReaderException - Specified by:
read
in interfaceXmlFactory<org.apache.maven.api.toolchain.PersistedToolchains>
- Throws:
XmlReaderException
-
write
public void write(XmlWriterRequest<org.apache.maven.api.toolchain.PersistedToolchains> request) throws XmlWriterException - Specified by:
write
in interfaceXmlFactory<org.apache.maven.api.toolchain.PersistedToolchains>
- Throws:
XmlWriterException
-