Package org.apache.maven.internal.impl
Class DefaultModelXmlFactory
java.lang.Object
org.apache.maven.internal.impl.DefaultModelXmlFactory
- All Implemented Interfaces:
- Service,- ModelXmlFactory,- XmlFactory<Model>
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.api.services.xml.XmlFactoryfromXmlString, read, read, read, read, read, read, toXmlString, write, write, write
- 
Constructor Details- 
DefaultModelXmlFactorypublic DefaultModelXmlFactory()
 
- 
- 
Method Details- 
read- Specified by:
- readin interface- XmlFactory<Model>
- Throws:
- XmlReaderException
 
- 
write- Specified by:
- writein interface- XmlFactory<Model>
- Throws:
- XmlWriterException
 
- 
fromXmlSimply parse the given xml string.- Parameters:
- xml- the input xml string
- Returns:
- the parsed object
- Throws:
- XmlReaderException- if an error occurs during the parsing
- See Also:
 
- 
toXmlSimply converts the given content to an xml string.- Parameters:
- content- the object to convert
- Returns:
- the xml string representation
- Throws:
- XmlWriterException- if an error occurs during the transformation
- See Also:
 
 
-