Interface WXMParserType<T>

Type Parameters:
T - The type of parsed values
All Superinterfaces:
java.lang.AutoCloseable, java.io.Closeable
All Known Subinterfaces:
WXMBootConfigurationParserType, WXMClientConfigurationParserType, WXMVirtualMachineParserType
All Known Implementing Classes:
WXMBootConfigurationParser, WXMClientConfigurationParser, WXMVirtualMachineParser

public interface WXMParserType<T>
extends java.io.Closeable
The type of parsers.
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<T> parse()
    Attempt to parse a value.

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • parse

      java.util.Optional<T> parse()
      Attempt to parse a value. The method returns a non-empty value if no errors occurred and a valid value was parsed.
      Returns:
      The parsed value, if any