public final class IdRegister
extends java.lang.Object
Class contains methods that registers the ID attributes in the elements allowing to use Document.getElementById method.
Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_ATTRIBUTE_NAME
Attribute that represents ID-attribute name.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
registerAttrId(org.w3c.dom.Element element)
Method declares "Id" attribute in the element given.
|
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.
|
public static final java.lang.String ID_ATTRIBUTE_NAME
public static void registerAttrId(org.w3c.dom.Element element)
Document.getElementById.element - the element with the Id-attribute.public static void registerElements(org.w3c.dom.Node xmlNode)
Document.getElementById.xmlNode - node of type element.