com.twitterapime.parser
Interface Attributes


public interface Attributes

This interface defines a list of attributes.

Since:
1.1
Version:
1.0
Author:
Ernandes Mourao Junior (ernandes@gmail.com)

Method Summary
 int getIndex(java.lang.String qName)
           Get the index value of a given qualified name.
 int getLength()
           Get the number of attributes in the list.
 java.lang.String getQName(int index)
           Get the qualified name associated to the given index value.
 java.lang.String getType(int index)
           Get the type of a qualified name associated to the given index value.
 java.lang.String getValue(int index)
           Get the value of a qualified name associated to the given index value.
 java.lang.String getValue(java.lang.String qName)
           Get the value associated to a given qualified name.
 

Method Detail

getIndex

int getIndex(java.lang.String qName)

Get the index value of a given qualified name.

Parameters:
qName - Qualified name.
Returns:
Index.

getValue

java.lang.String getValue(java.lang.String qName)

Get the value associated to a given qualified name.

Parameters:
qName - Qualified name.
Returns:
Value.

getLength

int getLength()

Get the number of attributes in the list.

Returns:
Number.

getQName

java.lang.String getQName(int index)

Get the qualified name associated to the given index value.

Parameters:
index - Index value.
Returns:
Qualified name.

getType

java.lang.String getType(int index)

Get the type of a qualified name associated to the given index value.

Parameters:
index - Index value.
Returns:
Type.

getValue

java.lang.String getValue(int index)

Get the value of a qualified name associated to the given index value.

Parameters:
index - Index value.
Returns:
Value.


Copyright © 2010 Twitter API ME Team. All Rights Reserved.