org.apache.jetspeed.rewriter.html.neko
Class XMLAttributesWrapper

java.lang.Object
  extended by org.apache.jetspeed.rewriter.html.neko.XMLAttributesWrapper
All Implemented Interfaces:
MutableAttributes, Attributes

public class XMLAttributesWrapper
extends Object
implements MutableAttributes

XMLAttributesWrapper

Version:
$Id: XMLAttributesWrapper.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver

Field Summary
protected  org.apache.xerces.xni.XMLAttributes attrs
           
 
Constructor Summary
XMLAttributesWrapper(org.apache.xerces.xni.XMLAttributes attrs)
           
 
Method Summary
 int addAttribute(org.apache.xerces.xni.QName arg0, String arg1, String arg2)
           addAttribute
 void addAttribute(String name, Object value)
           addAttribute
protected  String asNekoAttributeName(String n)
           
 boolean equals(Object obj)
           equals
 org.apache.xerces.xni.Augmentations getAugmentations(int arg0)
           getAugmentations
 org.apache.xerces.xni.Augmentations getAugmentations(String qName)
           getAugmentations
 org.apache.xerces.xni.Augmentations getAugmentations(String uri, String localPart)
           getAugmentations
 int getIndex(String qName)
           getIndex
 int getIndex(String uri, String localName)
           getIndex
 int getLength()
           getLength
 String getLocalName(int arg0)
           getLocalName
 void getName(int arg0, org.apache.xerces.xni.QName arg1)
           getName
 String getNonNormalizedValue(int arg0)
           getNonNormalizedValue
 String getPrefix(int arg0)
           getPrefix
 String getQName(int arg0)
           getQName
 String getType(int arg0)
           getType
 String getType(String qName)
           getType
 String getType(String uri, String localName)
           getType
 String getURI(int arg0)
           getURI
 String getValue(int arg0)
           getValue
 String getValue(String qName)
           getValue
 String getValue(String uri, String localName)
           getValue
 int hashCode()
           hashCode
 boolean isSpecified(int arg0)
           isSpecified
 void removeAllAttributes()
           removeAllAttributes
 void removeAttributeAt(int arg0)
           removeAttributeAt
 void setAugmentations(int arg0, org.apache.xerces.xni.Augmentations arg1)
           setAugmentations
 void setName(int arg0, org.apache.xerces.xni.QName arg1)
           setName
 void setNonNormalizedValue(int arg0, String arg1)
           setNonNormalizedValue
 void setSpecified(int arg0, boolean arg1)
           setSpecified
 void setType(int arg0, String arg1)
           setType
 void setValue(int arg0, String arg1)
           setValue
 String toString()
           toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

attrs

protected org.apache.xerces.xni.XMLAttributes attrs
Constructor Detail

XMLAttributesWrapper

public XMLAttributesWrapper(org.apache.xerces.xni.XMLAttributes attrs)
Method Detail

addAttribute

public int addAttribute(org.apache.xerces.xni.QName arg0,
                        String arg1,
                        String arg2)

addAttribute

Parameters:
arg0 -
arg1 -
arg2 -
Returns:

equals

public boolean equals(Object obj)

equals

Overrides:
equals in class Object
Parameters:
obj -
Returns:
See Also:
Object.equals(java.lang.Object)

getAugmentations

public org.apache.xerces.xni.Augmentations getAugmentations(int arg0)

getAugmentations

Parameters:
arg0 -
Returns:

getAugmentations

public org.apache.xerces.xni.Augmentations getAugmentations(String qName)

getAugmentations

Parameters:
arg0 -
Returns:

getAugmentations

public org.apache.xerces.xni.Augmentations getAugmentations(String uri,
                                                            String localPart)

getAugmentations

Parameters:
arg0 -
arg1 -
Returns:

getIndex

public int getIndex(String qName)

getIndex

Specified by:
getIndex in interface Attributes
Parameters:
arg0 -
Returns:

getIndex

public int getIndex(String uri,
                    String localName)

getIndex

Specified by:
getIndex in interface Attributes
Parameters:
arg0 -
arg1 -
Returns:

getLength

public int getLength()

getLength

Specified by:
getLength in interface Attributes
Returns:

getLocalName

public String getLocalName(int arg0)

getLocalName

Specified by:
getLocalName in interface Attributes
Parameters:
arg0 -
Returns:

getName

public void getName(int arg0,
                    org.apache.xerces.xni.QName arg1)

getName

Parameters:
arg0 -
arg1 -

getNonNormalizedValue

public String getNonNormalizedValue(int arg0)

getNonNormalizedValue

Parameters:
arg0 -
Returns:

getPrefix

public String getPrefix(int arg0)

getPrefix

Parameters:
arg0 -
Returns:

getQName

public String getQName(int arg0)

getQName

Specified by:
getQName in interface Attributes
Parameters:
arg0 -
Returns:

getType

public String getType(int arg0)

getType

Specified by:
getType in interface Attributes
Parameters:
arg0 -
Returns:

getType

public String getType(String qName)

getType

Specified by:
getType in interface Attributes
Parameters:
arg0 -
Returns:

getType

public String getType(String uri,
                      String localName)

getType

Specified by:
getType in interface Attributes
Parameters:
arg0 -
arg1 -
Returns:

getURI

public String getURI(int arg0)

getURI

Specified by:
getURI in interface Attributes
Parameters:
arg0 -
Returns:

getValue

public String getValue(int arg0)

getValue

Specified by:
getValue in interface Attributes
Parameters:
arg0 -
Returns:

getValue

public String getValue(String qName)

getValue

Specified by:
getValue in interface Attributes
Parameters:
arg0 -
Returns:

getValue

public String getValue(String uri,
                       String localName)

getValue

Specified by:
getValue in interface Attributes
Parameters:
arg0 -
arg1 -
Returns:

hashCode

public int hashCode()

hashCode

Overrides:
hashCode in class Object
Returns:
See Also:
Object.hashCode()

isSpecified

public boolean isSpecified(int arg0)

isSpecified

Parameters:
arg0 -
Returns:

removeAllAttributes

public void removeAllAttributes()

removeAllAttributes


removeAttributeAt

public void removeAttributeAt(int arg0)

removeAttributeAt

Parameters:
arg0 -

setAugmentations

public void setAugmentations(int arg0,
                             org.apache.xerces.xni.Augmentations arg1)

setAugmentations

Parameters:
arg0 -
arg1 -

setName

public void setName(int arg0,
                    org.apache.xerces.xni.QName arg1)

setName

Parameters:
arg0 -
arg1 -

setNonNormalizedValue

public void setNonNormalizedValue(int arg0,
                                  String arg1)

setNonNormalizedValue

Parameters:
arg0 -
arg1 -

setSpecified

public void setSpecified(int arg0,
                         boolean arg1)

setSpecified

Parameters:
arg0 -
arg1 -

setType

public void setType(int arg0,
                    String arg1)

setType

Parameters:
arg0 -
arg1 -

setValue

public void setValue(int arg0,
                     String arg1)

setValue

Parameters:
arg0 -
arg1 -

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
See Also:
Object.toString()

addAttribute

public void addAttribute(String name,
                         Object value)

addAttribute

Specified by:
addAttribute in interface MutableAttributes
Parameters:
name -
value -
See Also:
MutableAttributes.addAttribute(java.lang.String, java.lang.Object)

asNekoAttributeName

protected String asNekoAttributeName(String n)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.