// Path: easyxml-core/src/main/java/com/giffing/easyxml/context/ParseContext.java
// public class ParseContext {
// 	
// 	/**
// 	 * The current xml element path divided by slash
// 	 */
// 	private String path;
// 
// 	public String getPath() {
// 		return path;
// 	}
// 
// 	public void setPath(String path) {
// 		this.path = path;
// 	}
// 
// }


import com.giffing.easyxml.context.ParseContext;
package com.giffing.easyxml.reader.item;


public interface ItemReader<T, R> {

	/**
	 * @param t transform result
	 */
	R read(T t);

	/**
	 * Indicates if the reader is responsible for the current context
	 * 
	 * @param context
	 */
// Path: easyxml-core/src/main/java/com/giffing/easyxml/context/ParseContext.java
// public class ParseContext {
// 	
// 	/**
// 	 * The current xml element path divided by slash
// 	 */
// 	private String path;
// 
// 	public String getPath() {
// 		return path;
// 	}
// 
// 	public void setPath(String path) {
// 		this.path = path;
// 	}
// 
// }


// Path: easyxml-core/src/main/java/com/giffing/easyxml/reader/item/ItemReader.java
import com.giffing.easyxml.context.ParseContext;

package com.giffing.easyxml.reader.item;


public interface ItemReader<T, R> {

	/**
	 * @param t transform result
	 */
	R read(T t);

	/**
	 * Indicates if the reader is responsible for the current context
	 * 
	 * @param context
	 */
	boolean shouldHandle(ParseContext context);