Class XMLConfig

java.lang.Object
org.apache.rat.configuration.XMLConfig

public final class XMLConfig extends Object
Configuration definitions for XMLConfiguration reader and writer.
  • Field Details

  • Method Details

    • isInlineNode

      public static boolean isInlineNode(String parent, String child)
      Returns true if the specified child node should be placed inline in the XML document.
      Parameters:
      parent - the parent node name.
      child - the child node name.
      Returns:
      true if the child should be inlined.
    • isLicenseChild

      public static boolean isLicenseChild(String child)
      Returns true if the child should be a child node of a license node, as opposed to an attribute of the license.
      Parameters:
      child - the name of the child node.
      Returns:
      true if the child should be a child node.
    • isLicenseInline

      public static boolean isLicenseInline(String child)
      Return true if the child should be inlined in the parent node.
      Parameters:
      child - the name of the child node.
      Returns:
      true if the child should be inlined.