Interface IObjectReaderHandler

    • Method Detail

      • createObject

        java.lang.Object createObject​(java.lang.Object typeinfo,
                                      boolean root,
                                      AReadContext context,
                                      java.util.Map<java.lang.String,​java.lang.String> rawattributes)
                               throws java.lang.Exception
        Create an object for the current tag.
        Parameters:
        type - The object type to create.
        root - Flag, if object should be root object.
        context - The context.
        Returns:
        The created object (or null for none).
        Throws:
        java.lang.Exception
      • convertContentObject

        java.lang.Object convertContentObject​(java.lang.String object,
                                              QName tag,
                                              AReadContext context)
                                       throws java.lang.Exception
        Convert a content string object to another type of object.
        Throws:
        java.lang.Exception
      • handleAttributeValue

        void handleAttributeValue​(java.lang.Object object,
                                  QName xmlattrname,
                                  java.util.List<QName> attrpath,
                                  java.lang.String attrval,
                                  java.lang.Object attrinfo,
                                  AReadContext context)
                           throws java.lang.Exception
        Handle the attribute of an object.
        Parameters:
        object - The object.
        xmlattrname - The attribute name.
        attrval - The attribute value.
        attrinfo - The attribute info.
        context - The context.
        Throws:
        java.lang.Exception
      • getTypeInfo

        TypeInfo getTypeInfo​(java.lang.Object type,
                             QName[] fullpath,
                             AReadContext context)
        Get the most specific mapping info.
        Parameters:
        tag - The tag.
        fullpath - The full path.
        Returns:
        The most specific mapping info.
      • getPostProcessors

        IPostProcessor[] getPostProcessors​(java.lang.Object object,
                                           java.lang.Object typeinfo)
        Get the post-processor.
        Returns:
        The post-processor