Class CATP1TypeRecord

java.lang.Object
com.io7m.cardant.type_packages.parsers.internal.CATP1TypeRecord
All Implemented Interfaces:
com.io7m.blackthorne.core.BTElementHandlerType<Object,CATypeRecordDeclaration>

public final class CATP1TypeRecord extends Object implements com.io7m.blackthorne.core.BTElementHandlerType<Object,CATypeRecordDeclaration>
A parser.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CATP1TypeRecord(com.io7m.blackthorne.core.BTElementParsingContextType context, com.io7m.lanark.core.RDottedName inPackageName)
    A parser.
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<com.io7m.blackthorne.core.BTQualifiedName,com.io7m.blackthorne.core.BTElementHandlerConstructorType<?,?>>
    onChildHandlersRequested(com.io7m.blackthorne.core.BTElementParsingContextType context)
     
    void
    onChildValueProduced(com.io7m.blackthorne.core.BTElementParsingContextType context, Object result)
     
    onElementFinished(com.io7m.blackthorne.core.BTElementParsingContextType context)
     
    void
    onElementStart(com.io7m.blackthorne.core.BTElementParsingContextType context, Attributes attributes)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.io7m.blackthorne.core.BTElementHandlerType

    map, name, onCharacters, onShouldIgnoreUnrecognizedElements
  • Constructor Details

    • CATP1TypeRecord

      public CATP1TypeRecord(com.io7m.blackthorne.core.BTElementParsingContextType context, com.io7m.lanark.core.RDottedName inPackageName)
      A parser.
      Parameters:
      context - The parse context
      inPackageName - The package name
  • Method Details

    • onElementStart

      public void onElementStart(com.io7m.blackthorne.core.BTElementParsingContextType context, Attributes attributes)
      Specified by:
      onElementStart in interface com.io7m.blackthorne.core.BTElementHandlerType<Object,CATypeRecordDeclaration>
    • onChildHandlersRequested

      public Map<com.io7m.blackthorne.core.BTQualifiedName,com.io7m.blackthorne.core.BTElementHandlerConstructorType<?,?>> onChildHandlersRequested(com.io7m.blackthorne.core.BTElementParsingContextType context)
      Specified by:
      onChildHandlersRequested in interface com.io7m.blackthorne.core.BTElementHandlerType<Object,CATypeRecordDeclaration>
    • onChildValueProduced

      public void onChildValueProduced(com.io7m.blackthorne.core.BTElementParsingContextType context, Object result)
      Specified by:
      onChildValueProduced in interface com.io7m.blackthorne.core.BTElementHandlerType<Object,CATypeRecordDeclaration>
    • onElementFinished

      public CATypeRecordDeclaration onElementFinished(com.io7m.blackthorne.core.BTElementParsingContextType context)
      Specified by:
      onElementFinished in interface com.io7m.blackthorne.core.BTElementHandlerType<Object,CATypeRecordDeclaration>