# Class MPackageDeclarationParsers

java.lang.Object
com.io7m.montarre.xml.MPackageDeclarationParsers

All Implemented Interfaces:
  `com.io7m.anethum.api.ParserFactoryType<com.io7m.jxe.core.JXEHardenedSAXParsers,MPackageDeclaration,MPackageDeclarationParserType>`, `MPackageDeclarationParserFactoryType`

public final class MPackageDeclarationParsers extends Object implements MPackageDeclarationParserFactoryType
A package parser factory.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MPackageDeclarationParsers()`
  A package parser factory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MPackageDeclarationParserType`
  `createParserWithContext(com.io7m.jxe.core.JXEHardenedSAXParsers context, URI source, InputStream stream, Consumer<com.io7m.anethum.api.ParseStatus> statusConsumer)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface com.io7m.anethum.api.ParserFactoryType

  `createParser, createParser, createParserForFileWithContext, parse, parse, parseFile, parseFile, parseFileWithContext, parseFileWithContext`

- ## Constructor Details

  - ### MPackageDeclarationParsers

    public MPackageDeclarationParsers()
    A package parser factory.

- ## Method Details

  - ### createParserWithContext

    public MPackageDeclarationParserType createParserWithContext(com.io7m.jxe.core.JXEHardenedSAXParsers context, URI source, InputStream stream, Consumer<com.io7m.anethum.api.ParseStatus> statusConsumer)
    Specified by:
      `createParserWithContext` in interface `com.io7m.anethum.api.ParserFactoryType<com.io7m.jxe.core.JXEHardenedSAXParsers,MPackageDeclaration,MPackageDeclarationParserType>`