Class PythonAbstractMessageParser<T>

    • Constructor Detail

      • PythonAbstractMessageParser

        public PythonAbstractMessageParser​(String root,
                                           String formatVersionKey,
                                           Function<ParseToken,​List<ParseToken>>[] filters)
        Simple constructor.
        Parameters:
        root - root element for XML files
        formatVersionKey - key for format version
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • reset

        public void reset​(FileFormat fileFormat)
        Reset parser to initial state before parsing.
        Parameters:
        fileFormat - format of the file ready to be parsed
      • build

        public T build()
        Build the file from parsed entries.
        Returns:
        parsed file