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
readAttribute
void readAttribute(XMLStreamReader reader,
int index,
T value)
throws XMLStreamException
- Parse an attribute.
- Parameters:
reader
- the stream readerindex
- the attribute indexvalue
- the value passed in
- Throws:
XMLStreamException
- if an error occurs
Copyright © 2011. All Rights Reserved.