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 voidsetValuesFromElement(Element element) Creates an instance of this elements data from a DOM elementprotected voidvalidate()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:
validatein classAbstractDomData- Throws:
CertificateException- validation errors
-
getElement
Gets a DOM element from the element data fields- Specified by:
getElementin 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:AbstractDomDataCreates an instance of this elements data from a DOM element- Specified by:
setValuesFromElementin classAbstractDomData- Parameters:
element- xml element providing content data- Throws:
CertificateException- content validation error
-