Class XMLConfig
java.lang.Object
org.apache.rat.configuration.XMLConfig
Configuration definitions for XMLConfiguration reader and writer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringapproved element namestatic final Stringclass name attribute namestatic final Stringid attribute namestatic final Stringlicense reference attribute namestatic final Stringname attribute namestatic final Stringresource file name attribute name.static final Stringfamilies element namestatic final Stringfamily element namestatic final Stringlicense element namestatic final Stringlicenses element namestatic final Stringmatcher element namestatic final Stringmatchers element namestatic final Stringnote element namestatic final Stringroot of the configuration file -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInlineNode(String parent, String child) Returns true if the specified child node should be placed inline in the XML document.static booleanisLicenseChild(String child) Returns true if the child should be a child node of a license node, as opposed to an attribute of the license.static booleanisLicenseInline(String child) Return true if the child should be inlined in the parent node.
-
Field Details
-
ATT_ID
-
ATT_NAME
-
ATT_LICENSE_REF
-
ATT_CLASS_NAME
-
ATT_RESOURCE
-
ROOT
-
FAMILIES
-
LICENSES
-
LICENSE
-
APPROVED
-
FAMILY
-
NOTE
-
MATCHERS
-
MATCHER
-
-
Method Details
-
isInlineNode
-
isLicenseChild
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
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.
-