public class SaxEventHandlerUtils extends Object
Constructor and Description |
---|
SaxEventHandlerUtils() |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getCombinedMultiValuedAttributes(Set<AttributeDescriptor> descriptors,
List<Attribute> attributes)
This method iterates through the attribute list provided and combines the values of common
attributes.
|
Map<String,Boolean> |
getMultiValuedNameMap(Set<AttributeDescriptor> descriptors) |
public List<Attribute> getCombinedMultiValuedAttributes(Set<AttributeDescriptor> descriptors, List<Attribute> attributes)
descriptors
- A set of attribute descriptors. Used to determine if the attribute can have
multiple values. If empty or null, a validation warning will be added to the attributes and
the attribute will default to not allow multiple values.attributes
- The list of attributes to combine.public Map<String,Boolean> getMultiValuedNameMap(Set<AttributeDescriptor> descriptors)
This work is licensed under a Creative Commons Attribution 4.0 International License.