org.barracudamvc.contrib.sam.xmlform.dtd
Class FormUnmarshaller
java.lang.Object
org.barracudamvc.contrib.sam.xmlform.dtd.FormUnmarshaller
public class FormUnmarshaller
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormUnmarshaller
public FormUnmarshaller()
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 © 2006 BarracudaMVC.org All Rights Reserved.