All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.megatronking.svg.generator.xml.IElementParser Maven / Gradle / Ivy

There is a newer version: 1.3.6
Show newest version
package com.github.megatronking.svg.generator.xml;

import org.dom4j.DocumentException;
import org.dom4j.Element;

/**
 * We convert xml to tree elements by dom4j framework.
 * The next step is parsing the elements to model objects.
 * An element can have declared namespaces, attributes, child nodes and textual content.
 *
 * @author Megatron King
 * @since 2016/9/1 9:37
 */

public interface IElementParser {

    /**
     * Parse an element to a model object, one element, one object.
     *
     * @param element the dom element.
     * @param t the object.
     */
    void parse(Element element, T t) throws DocumentException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy