org.enhydra.barracuda.contrib.sam.xmlform.dtd
Class FormUnmarshaller

java.lang.Object
  extended byorg.enhydra.barracuda.contrib.sam.xmlform.dtd.FormUnmarshaller

public class FormUnmarshaller
extends Object


Constructor Summary
FormUnmarshaller()
           
 
Method Summary
static void setEntityResolver(EntityResolver resolver)
           This sets a SAX EntityResolver for this unmarshalling process.
static void setErrorHandler(ErrorHandler handler)
           This sets a SAX ErrorHandler for this unmarshalling process.
static Form unmarshal(File file)
           
static Form unmarshal(File file, boolean validate)
           
static Form unmarshal(InputStream inputStream)
           
static Form unmarshal(InputStream inputStream, boolean validate)
           
static Form unmarshal(Reader reader)
           
static Form unmarshal(Reader reader, boolean validate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormUnmarshaller

public FormUnmarshaller()
Method Detail

setEntityResolver

public static void setEntityResolver(EntityResolver resolver)

This sets a SAX EntityResolver for this unmarshalling process.

Parameters:
resolver - the entity resolver to use.

setErrorHandler

public static void setErrorHandler(ErrorHandler handler)

This sets a SAX ErrorHandler for this unmarshalling process.

Parameters:
handler - the error handler to use.

unmarshal

public static Form unmarshal(File file)
                      throws IOException
Throws:
IOException

unmarshal

public static Form unmarshal(File file,
                             boolean validate)
                      throws IOException
Throws:
IOException

unmarshal

public static Form unmarshal(InputStream inputStream)
                      throws IOException
Throws:
IOException

unmarshal

public static Form unmarshal(InputStream inputStream,
                             boolean validate)
                      throws IOException
Throws:
IOException

unmarshal

public static Form unmarshal(Reader reader)
                      throws IOException
Throws:
IOException

unmarshal

public static Form unmarshal(Reader reader,
                             boolean validate)
                      throws IOException
Throws:
IOException


Copyright © 2003 BarracudaMVC.org All Rights Reserved.