Package com.io7m.waxmill.xml
Class WXMVirtualMachineParsers
java.lang.Object
com.io7m.waxmill.xml.WXMVirtualMachineParsers
- All Implemented Interfaces:
WXMParserProviderType<WXMVirtualMachineSet>,WXMVirtualMachineParserProviderType
public final class WXMVirtualMachineParsers extends java.lang.Object implements WXMVirtualMachineParserProviderType
A provider of virtual machine parsers.
-
Constructor Summary
Constructors Constructor Description WXMVirtualMachineParsers()Construct a provider. -
Method Summary
Modifier and Type Method Description WXMVirtualMachineParserTypecreate(java.nio.file.FileSystem fileSystem, java.net.URI uri, java.io.InputStream stream, java.util.function.Consumer<WXMParseError> errors)Create a new parser.java.lang.StringtoString()
-
Constructor Details
-
WXMVirtualMachineParsers
public WXMVirtualMachineParsers()Construct a provider.
-
-
Method Details
-
create
public WXMVirtualMachineParserType create(java.nio.file.FileSystem fileSystem, java.net.URI uri, java.io.InputStream stream, java.util.function.Consumer<WXMParseError> errors) throws java.io.IOExceptionDescription copied from interface:WXMParserProviderTypeCreate a new parser.- Specified by:
createin interfaceWXMParserProviderType<WXMVirtualMachineSet>- Specified by:
createin interfaceWXMVirtualMachineParserProviderType- Parameters:
fileSystem- The filesystem used to create new paths, if necessaryuri- The source URIstream- The source streamerrors- A receiver of parse errors- Returns:
- A new parser
- Throws:
java.io.IOException- On I/O errors
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-