nu.validator.xml
Class IdnessChangingAttributesWrapper

java.lang.Object
  extended by nu.validator.xml.IdnessChangingAttributesWrapper
All Implemented Interfaces:
Attributes

public final class IdnessChangingAttributesWrapper
extends Object
implements Attributes


Field Summary
private  Attributes delegate
           
private  int idIndex
           
private  int xmlIdIndex
           
private  String xmlIdValue
           
 
Constructor Summary
IdnessChangingAttributesWrapper()
           
IdnessChangingAttributesWrapper(Attributes delegate, int xmlIdIndex, int idIndex, String xmlIdValue)
           
 
Method Summary
 int getIndex(String arg0)
           
 int getIndex(String arg0, String arg1)
           
 int getLength()
           
 String getLocalName(int arg0)
           
 String getQName(int arg0)
           
 String getType(int index)
           
 String getType(String qName)
           
 String getType(String uri, String localName)
           
 String getURI(int arg0)
           
 String getValue(int index)
           
 String getValue(String qName)
           
 String getValue(String uri, String localName)
           
 void setFields(Attributes delegate, int xmlIdIndex, int idIndex, String xmlIdValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

private Attributes delegate

xmlIdIndex

private int xmlIdIndex

idIndex

private int idIndex

xmlIdValue

private String xmlIdValue
Constructor Detail

IdnessChangingAttributesWrapper

public IdnessChangingAttributesWrapper(Attributes delegate,
                                       int xmlIdIndex,
                                       int idIndex,
                                       String xmlIdValue)
Parameters:
delegate -
xmlIdIndex -
idIndex -

IdnessChangingAttributesWrapper

public IdnessChangingAttributesWrapper()
Method Detail

setFields

public void setFields(Attributes delegate,
                      int xmlIdIndex,
                      int idIndex,
                      String xmlIdValue)

getIndex

public int getIndex(String arg0,
                    String arg1)
Specified by:
getIndex in interface Attributes
Parameters:
arg0 -
arg1 -
Returns:
See Also:
Attributes.getIndex(java.lang.String, java.lang.String)

getIndex

public int getIndex(String arg0)
Specified by:
getIndex in interface Attributes
Parameters:
arg0 -
Returns:
See Also:
Attributes.getIndex(java.lang.String)

getLength

public int getLength()
Specified by:
getLength in interface Attributes
Returns:
See Also:
Attributes.getLength()

getLocalName

public String getLocalName(int arg0)
Specified by:
getLocalName in interface Attributes
Parameters:
arg0 -
Returns:
See Also:
Attributes.getLocalName(int)

getQName

public String getQName(int arg0)
Specified by:
getQName in interface Attributes
Parameters:
arg0 -
Returns:
See Also:
Attributes.getQName(int)

getType

public String getType(int index)
Specified by:
getType in interface Attributes
Parameters:
index -
Returns:
See Also:
Attributes.getType(int)

getType

public String getType(String uri,
                      String localName)
Specified by:
getType in interface Attributes
Parameters:
uri -
localName -
Returns:
See Also:
Attributes.getType(java.lang.String, java.lang.String)

getType

public String getType(String qName)
Specified by:
getType in interface Attributes
Parameters:
qName -
Returns:
See Also:
Attributes.getType(java.lang.String)

getURI

public String getURI(int arg0)
Specified by:
getURI in interface Attributes
Parameters:
arg0 -
Returns:
See Also:
Attributes.getURI(int)

getValue

public String getValue(int index)
Specified by:
getValue in interface Attributes
Parameters:
index -
Returns:
See Also:
Attributes.getValue(int)

getValue

public String getValue(String uri,
                       String localName)
Specified by:
getValue in interface Attributes
Parameters:
uri -
localName -
Returns:
See Also:
Attributes.getValue(java.lang.String, java.lang.String)

getValue

public String getValue(String qName)
Specified by:
getValue in interface Attributes
Parameters:
qName -
Returns:
See Also:
Attributes.getValue(java.lang.String)