Class BeanDocumentFactory

  • All Implemented Interfaces:
    java.io.Serializable

    public class BeanDocumentFactory
    extends DocumentFactory

    BeanDocumentFactory is a factory of DOM4J objects which may be BeanElements which are backed by JavaBeans and their properties.

    The tree built allows full XPath expressions from anywhere on the tree.

    See Also:
    Serialized Form
    • Constructor Detail

      • BeanDocumentFactory

        public BeanDocumentFactory()
    • Method Detail

      • getInstance

        public static DocumentFactory getInstance()

        Access to the singleton instance of this factory.

        Returns:
        the default singleon instance
      • createElement

        public Element createElement(QName qname,
                                     org.xml.sax.Attributes attributes)
      • createBean

        protected java.lang.Object createBean(QName qname)
      • createBean

        protected java.lang.Object createBean(QName qname,
                                              org.xml.sax.Attributes attributes)
      • handleException

        protected void handleException(java.lang.Exception e)