|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.util.AttributeListWrapper
public class AttributeListWrapper
A class which implements AttributeList by "wrapping" a DOM NamedNodeMap. XSLReader when reading an XSLT stylsheet.
| Constructor Summary | |
|---|---|
AttributeListWrapper(NamedNodeMap namedNodeMap)
|
|
| Method Summary | |
|---|---|
int |
getLength()
Returns the number of attributes in the list. |
String |
getName(int i)
Returns the name of the attribute at the given index. |
String |
getType(int i)
Returns the type of the attribute at the specified index. |
String |
getType(String name)
Return the type of the attribute with the given name. |
String |
getValue(int i)
Return the value of the attribute at the specified index |
String |
getValue(String name)
Get the value of an attribute (by name). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeListWrapper(NamedNodeMap namedNodeMap)
| Method Detail |
|---|
public int getLength()
getLength in interface AttributeListpublic String getName(int i)
getName in interface AttributeListi - The position of the attribute in the list.
public String getType(int i)
getType in interface AttributeListi - The position of the attribute in the list.
public String getValue(int i)
getValue in interface AttributeListi - The position of the attribute in the list.
public String getType(String name)
getType in interface AttributeListname - The attribute name.
public String getValue(String name)
getValue in interface AttributeListname - The attribute name.AttributeList.getValue(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||