@Component public class AttributeHelper extends Object
| Constructor and Description |
|---|
AttributeHelper() |
| Modifier and Type | Method and Description |
|---|---|
List<GlobalAttributeDefinitionKey> |
getGlobalAttributesDefinitionForFormat()
Return all the format level global attribute definitions
|
Map<String,String> |
validateAttributes(List<Attribute> attributes)
Validates the attributes.
|
void |
validateFormatAttributes(List<Attribute> attributes)
Validate format attributes
|
public Map<String,String> validateAttributes(List<Attribute> attributes) throws IllegalArgumentException
attributes - the attributes to validate. Null shouldn't be specified.IllegalArgumentException - if any invalid attributes were found.public void validateFormatAttributes(List<Attribute> attributes) throws IllegalArgumentException
attributes - the attributesIllegalArgumentException - if any invalid attributes were found.public List<GlobalAttributeDefinitionKey> getGlobalAttributesDefinitionForFormat()
Copyright © 2019. All rights reserved.