Class PythonAbstractWriter

    • Constructor Detail

      • PythonAbstractWriter

        public PythonAbstractWriter​(String xmlTag,
                                    String kvnTag)
        Simple constructor.
        Parameters:
        xmlTag - name of the XML tag surrounding the section
        kvnTag - name of the KVN tag surrounding the section (may be null)
    • 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
      • writeContent

        public void writeContent​(Generator generator)
                          throws IOException
        Write the content of the section, excluding surrounding tags.
        Specified by:
        writeContent in class AbstractWriter
        Parameters:
        generator - generator to use for producing output
        Throws:
        IOException - if any buffer writing operations fails
      • intArrayToString

        public String intArrayToString​(int[] integers)
        Convert an array of integer to a comma-separated list.
        Overrides:
        intArrayToString in class AbstractWriter
        Parameters:
        integers - integers to write
        Returns:
        arrays as a string