public final class AttributesFactory extends Object
| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
DEFAULT_IGNORE_CASE
Default ignore case value, value of this constant is true. 
 | 
| Modifier | Constructor and Description | 
|---|---|
private  | 
AttributesFactory()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Attribute | 
createAttribute(String name)
Creates a new attribute. 
 | 
static Attribute | 
createAttribute(String name,
               Object value)
Creates a new attribute. 
 | 
static Attribute | 
createAttribute(String name,
               Object[] values)
Creates a new attribute. 
 | 
static Attributes | 
createAttributes(String name)
Creates a new attributes. 
 | 
static Attributes | 
createAttributes(String name,
                boolean ignoreCase)
Creates a new attributes. 
 | 
static Attributes | 
createAttributes(String name,
                Object value)
Creates a new attributes. 
 | 
static Attributes | 
createAttributes(String name,
                Object[] values)
Creates a new attributes. 
 | 
static Attributes | 
createAttributes(String name,
                Object[] values,
                boolean ignoreCase)
Creates a new attributes. 
 | 
static Attributes | 
createAttributes(String name,
                Object value,
                boolean ignoreCase)
Creates a new attributes. 
 | 
public static final boolean DEFAULT_IGNORE_CASE
public static Attributes createAttributes(String name)
name - of the attributepublic static Attributes createAttributes(String name, boolean ignoreCase)
name - of the attributeignoreCase - whether to ignore the case of attribute valuespublic static Attributes createAttributes(String name, Object value)
name - of the attributevalue - of the attributepublic static Attributes createAttributes(String name, Object value, boolean ignoreCase)
name - of the attributevalue - of the attributeignoreCase - whether to ignore the case of attribute valuespublic static Attributes createAttributes(String name, Object[] values)
name - of the attributevalues - of the attributepublic static Attributes createAttributes(String name, Object[] values, boolean ignoreCase)
name - of the attributevalues - of the attributeignoreCase - whether to ignore the case of attribute valuespublic static Attribute createAttribute(String name)
name - of the attributepublic static Attribute createAttribute(String name, Object value)
name - of the attributevalue - of the attributeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.