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.
    • Method Detail

      • readAttribute

        void readAttribute​(javax.xml.stream.XMLStreamReader reader,
                           int index,
                           T value)
                    throws javax.xml.stream.XMLStreamException
        Parse an attribute.
        Parameters:
        reader - the stream reader
        index - the attribute index
        value - the value passed in
        Throws:
        javax.xml.stream.XMLStreamException - if an error occurs