Class IdAttributes
java.lang.Object
se.swedenconnect.cert.extensions.data.saci.AbstractDomData
se.swedenconnect.cert.extensions.data.saci.IdAttributes
IdAttributes dom implementation
-
Field Summary
FieldsFields inherited from class se.swedenconnect.cert.extensions.data.saci.AbstractDomData
SACI_NS, SAML_ASSERTION_NS, strictMode, XML_DATE_TIME_FORMATTER
-
Constructor Summary
ConstructorsConstructorDescriptionIdAttributes
(Element element, boolean strictMode) Constructs a new IdAttributes element data object from an existing XML element -
Method Summary
Modifier and TypeMethodDescriptionGet the list of attribute mappings.getElement
(Document document) Gets a DOM element from the element data fieldsprotected void
setValuesFromElement
(Element element) Creates an instance of this elements data from a DOM elementprotected void
validate()
Validates the data fields of this object to assert that it meets basic content requirementsMethods inherited from class se.swedenconnect.cert.extensions.data.saci.AbstractDomData
adoptAttributes, adoptElements, getAttributeValue, getAttributeValue, getElements, getOtherAttributes, getSingleElement, instantToString, parseTime, setAttribute, setAttribute
-
Field Details
-
ID_ATTRIBUTES_ELEMENT
IdAttributes element name- See Also:
-
-
Constructor Details
-
IdAttributes
Constructs a new IdAttributes element data object from an existing XML element- Parameters:
element
- IdAttributes XML elementstrictMode
- true to strictly enforce content requirement rules- Throws:
CertificateException
- content requirement errors
-
-
Method Details
-
getAttributeMappings
Get the list of attribute mappings. If no list exist, a new list is created- Returns:
- the list of attribute mappings
-
validate
Validates the data fields of this object to assert that it meets basic content requirements- Specified by:
validate
in classAbstractDomData
- Throws:
CertificateException
- validation errors
-
getElement
Gets a DOM element from the element data fields- Specified by:
getElement
in classAbstractDomData
- Parameters:
document
- the document this element shall belong to- Returns:
- DOM element populated with the field data of this object
-
setValuesFromElement
Description copied from class:AbstractDomData
Creates an instance of this elements data from a DOM element- Specified by:
setValuesFromElement
in classAbstractDomData
- Parameters:
element
- xml element providing content data- Throws:
CertificateException
- content validation error
-