All LDAP Classes
Internal LDAP Classes

com.novell.ldap.util
Class DOMReader.DomAttributesWrapper

java.lang.Object
  extended by com.novell.ldap.util.DOMReader.DomAttributesWrapper
All Implemented Interfaces:
org.xml.sax.Attributes
Enclosing class:
DOMReader

private static class DOMReader.DomAttributesWrapper
extends java.lang.Object
implements org.xml.sax.Attributes

This wrapper class takes an existing set of DOM attributes, NamedNodeMap, and provides an interface for SAX attributes.


Field Summary
(package private)  org.w3c.dom.NamedNodeMap nnm
           
 
Constructor Summary
private DOMReader.DomAttributesWrapper()
           
 
Method Summary
 int getIndex(java.lang.String qName)
           
 int getIndex(java.lang.String uri, java.lang.String localPart)
           
 int getLength()
           
 java.lang.String getLocalName(int index)
           
 java.lang.String getQName(int index)
           
 java.lang.String getType(int index)
           
 java.lang.String getType(java.lang.String qName)
           
 java.lang.String getType(java.lang.String uri, java.lang.String localName)
           
 java.lang.String getURI(int index)
           
 java.lang.String getValue(int index)
           
 java.lang.String getValue(java.lang.String qName)
           
 java.lang.String getValue(java.lang.String uri, java.lang.String localName)
           
 void setAttrs(org.w3c.dom.NamedNodeMap domAttributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nnm

org.w3c.dom.NamedNodeMap nnm
Constructor Detail

DOMReader.DomAttributesWrapper

private DOMReader.DomAttributesWrapper()
Method Detail

setAttrs

public void setAttrs(org.w3c.dom.NamedNodeMap domAttributes)

getLength

public int getLength()
Specified by:
getLength in interface org.xml.sax.Attributes

getURI

public java.lang.String getURI(int index)
Specified by:
getURI in interface org.xml.sax.Attributes

getLocalName

public java.lang.String getLocalName(int index)
Specified by:
getLocalName in interface org.xml.sax.Attributes

getQName

public java.lang.String getQName(int index)
Specified by:
getQName in interface org.xml.sax.Attributes

getType

public java.lang.String getType(int index)
Specified by:
getType in interface org.xml.sax.Attributes

getValue

public java.lang.String getValue(int index)
Specified by:
getValue in interface org.xml.sax.Attributes

getIndex

public int getIndex(java.lang.String uri,
                    java.lang.String localPart)
Specified by:
getIndex in interface org.xml.sax.Attributes

getIndex

public int getIndex(java.lang.String qName)
Specified by:
getIndex in interface org.xml.sax.Attributes

getType

public java.lang.String getType(java.lang.String uri,
                                java.lang.String localName)
Specified by:
getType in interface org.xml.sax.Attributes

getType

public java.lang.String getType(java.lang.String qName)
Specified by:
getType in interface org.xml.sax.Attributes

getValue

public java.lang.String getValue(java.lang.String uri,
                                 java.lang.String localName)
Specified by:
getValue in interface org.xml.sax.Attributes

getValue

public java.lang.String getValue(java.lang.String qName)
Specified by:
getValue in interface org.xml.sax.Attributes

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000