Interface AttributesMap

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class getClass​(java.lang.String name)  
      Decoder<?> getDecoder​(java.lang.String name)
      Return the best decoder to use for the given attribute name.
      int getInt​(java.lang.String name)  
      int getLength()
      The number of attributes in the map
      java.lang.String getName​(int index)
      The name of the attribute at the location
      java.lang.Class[] getSignature​(java.lang.String name)  
      java.lang.String getString​(java.lang.String name)  
      <T> T getValue​(java.lang.String name, Decoder<T> decoder)  
    • Method Detail

      • getLength

        int getLength()
        The number of attributes in the map
      • getName

        java.lang.String getName​(int index)
        The name of the attribute at the location
      • getInt

        int getInt​(java.lang.String name)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • getString

        java.lang.String getString​(java.lang.String name)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getClass

        java.lang.Class getClass​(java.lang.String name)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getSignature

        java.lang.Class[] getSignature​(java.lang.String name)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getValue

        <T> T getValue​(java.lang.String name,
                       Decoder<T> decoder)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • getDecoder

        Decoder<?> getDecoder​(java.lang.String name)
        Return the best decoder to use for the given attribute name. Not supported by all attribute maps.