org.jboss.staxmapper
Interface XMLAttributeReader<T>

Type Parameters:
T - the type that this reader can operate on

public interface XMLAttributeReader<T>

A reader which pulls an object information out of some XML attribute and appends it to a provided object model.

Author:
David M. Lloyd

Method Summary
 void readAttribute(XMLStreamReader reader, int index, T value)
          Parse an attribute.
 

Method Detail

readAttribute

void readAttribute(XMLStreamReader reader,
                   int index,
                   T value)
                   throws XMLStreamException
Parse an attribute.

Parameters:
reader - the stream reader
index - the attribute index
value - the value passed in
Throws:
XMLStreamException - if an error occurs


Copyright © 2011. All Rights Reserved.