Class XMLInterface


public class XMLInterface extends FILEInterface
Interface for XML files; currently only used for resources. The file contains one element per data line, each with parameter children (attribute id = column name, text = value, or value children for arrays).
Author:
Andreas Enders
  • Constructor Details

    • XMLInterface

      protected XMLInterface(String aName, org.jdom2.Element aInterfaceElement)
      Creates the interface from its element.
      Parameters:
      aName - name of the interface
      aInterfaceElement - the interface element
    • XMLInterface

      public XMLInterface(String aName, int aPoolSize, String aFileName, String aContent)
      Creates the interface without element.
      Parameters:
      aName - name of the interface
      aPoolSize - number of pooled files
      aFileName - the file name, may contain tokens
      aContent - the XML as string instead of a file, may be null
  • Method Details