public class XMLConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPROVED
approved element name
|
static String |
ATT_CLASS_NAME
class name attribute name
|
static String |
ATT_ID
id attribute name
|
static String |
ATT_LICENSE_REF
license reference attribute name
|
static String |
ATT_NAME
name attribute name
|
static String |
ATT_RESOURCE
resource file name attribute name.
|
static String |
FAMILIES
families element name
|
static String |
FAMILY
family element name
|
static String |
LICENSE
license element name
|
static String |
LICENSES
licenses element name
|
static String |
MATCHER
matcher element name
|
static String |
MATCHERS
matchers element name
|
static String |
NOTE
note element name
|
static String |
ROOT
root of the configuration file
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isInlineNode(String parent,
String child)
Returns true if the specified child node should be placed inline in the XML
document.
|
static boolean |
isLicenseChild(String child)
Returns true if the child should be a child node of a license node, as
opposed to a attribute of the license.
|
static boolean |
isLicenseInline(String child)
Return true if the child should be inlined in the parent node.
|
public static final String ATT_ID
public static final String ATT_NAME
public static final String ATT_LICENSE_REF
public static final String ATT_CLASS_NAME
public static final String ATT_RESOURCE
public static final String ROOT
public static final String FAMILIES
public static final String LICENSES
public static final String LICENSE
public static final String APPROVED
public static final String FAMILY
public static final String NOTE
public static final String MATCHERS
public static final String MATCHER
public static boolean isInlineNode(String parent, String child)
parent
- the parent node name.child
- the child node name.public static boolean isLicenseChild(String child)
child
- the name of the child node.public static boolean isLicenseInline(String child)
child
- the name of the child node.Copyright © 2006–2024 Apache Software Foundation. All rights reserved.