org.apache.xml.security.utils
Class IdResolver

java.lang.Object
  extended by org.apache.xml.security.utils.IdResolver

Deprecated.

public class IdResolver
extends Object

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
static Element getElementById(Document doc, String id)
          Deprecated. Method getElementById
static void registerElementById(Element element, Attr id)
          Deprecated. Method registerElementById
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerElementById

public static void registerElementById(Element element,
                                       Attr id)
Deprecated. 
Method registerElementById

Parameters:
element - the element to register
id - the ID attribute

getElementById

public static Element getElementById(Document doc,
                                     String id)
Deprecated. 
Method getElementById

Parameters:
doc - the document
id - the value of the ID
Returns:
the element obtained by the id, or null if it is not found.


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.