org.ws4d.java.types
Interface CustomAttributeParser

All Known Implementing Classes:
StringAttributeParser

public interface CustomAttributeParser

A parser for a custom attribute value. It can be used to create an appropriate Java data type for representation of the attribute value.


Method Summary
 CustomAttributeValue parse(org.xmlpull.v1.XmlPullParser parser, int attributeIndex)
          Returns a custom attribute value instance created from the attribute at the specified attributeIndex from the given parser.
 

Method Detail

parse

CustomAttributeValue parse(org.xmlpull.v1.XmlPullParser parser,
                           int attributeIndex)
Returns a custom attribute value instance created from the attribute at the specified attributeIndex from the given parser.

Parameters:
parser - the parser the attribute is read from
attributeIndex - the index of the attribute, at which it can be obtained from the parser
Returns:
an instance representing the attribute value as a Java object of a specific type