org.richfaces.cdk.xmlconfig.JAXB Maven / Gradle / Ivy
The newest version!
package org.richfaces.cdk.xmlconfig;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.Writer;
import javax.xml.transform.Result;
import org.richfaces.cdk.CdkException;
public interface JAXB {
T unmarshal(File file, String schemaLocation, Class bindClass) throws CdkException, FileNotFoundException;
T unmarshal(String url, String schemaLocation, Class bindClass) throws CdkException, FileNotFoundException;
void marshal(Writer output, String schemaLocation, T model) throws CdkException;
void marshal(Result output, String schemaLocation, T model) throws CdkException;
}