Package org.apache.xml.security.utils
Class IdResolver
java.lang.Object
org.apache.xml.security.utils.IdResolver
Deprecated.
Purpose of this class is to enable the XML Parser to keep track of ID
attributes. This is done by 'registering' attributes of type ID at the
IdResolver.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Element
getElementById
(Document doc, String id) Deprecated.Method getElementByIdstatic void
registerElementById
(Element element, Attr id) Deprecated.Method registerElementById
-
Method Details
-
registerElementById
Deprecated.Method registerElementById- Parameters:
element
- the element to registerid
- the ID attribute
-
getElementById
Deprecated.Method getElementById- Parameters:
doc
- the documentid
- the value of the ID- Returns:
- the element obtained by the id, or null if it is not found.
-