Package es.gob.afirma.signature.xades
Class IdRegister
- java.lang.Object
-
- es.gob.afirma.signature.xades.IdRegister
-
public final class IdRegister extends java.lang.ObjectClass contains methods that registers the ID attributes in the elements allowing to use
Project:Document.getElementByIdmethod.Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 18/04/2022.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringID_ATTRIBUTE_NAMEAttribute that represents ID-attribute name.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregisterAttrId(org.w3c.dom.Element element)Method declares "Id" attribute in the element given.static voidregisterElements(org.w3c.dom.Node xmlNode)Registers the 'Id' attribute to be a user-determined ID attribute in the node of type element and all its childrens.
-
-
-
Field Detail
-
ID_ATTRIBUTE_NAME
public static final java.lang.String ID_ATTRIBUTE_NAME
Attribute that represents ID-attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
registerAttrId
public static void registerAttrId(org.w3c.dom.Element element)
Method declares "Id" attribute in the element given. This behavior allows to useDocument.getElementById.- Parameters:
element- the element with the Id-attribute.
-
registerElements
public static void registerElements(org.w3c.dom.Node xmlNode)
Registers the 'Id' attribute to be a user-determined ID attribute in the node of type element and all its childrens. This behavior allows to useDocument.getElementById.- Parameters:
xmlNode- node of type element.
-
-