Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xml.security.utils
Class IdResolver

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

Deprecated.

    public class IdResolver

extends java.lang.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 org.w3c.dom.Element` | `getElementById(org.w3c.dom.Document doc, java.lang.String id)` Deprecated. Method getElementById
`static void` | `registerElementById(org.w3c.dom.Element element, org.w3c.dom.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(org.w3c.dom.Element element,
                                           org.w3c.dom.Attr id)

  Deprecated.
  Method registerElementById

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

### getElementById

    public static org.w3c.dom.Element getElementById(org.w3c.dom.Document doc,
                                                     java.lang.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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD