FileDocCategorySizeDatePackage
WebAppUnmarshaller.javaAPI DocExample4331Thu Mar 07 09:13:52 GMT 2002javajaxb.generated.web

WebAppUnmarshaller

public class WebAppUnmarshaller extends Object
This class was generated from a set of XML constraints by the Enhydra Zeus XML Data Binding Framework. All source code in this file is constructed specifically to work with other Zeus-generated classes. If you modify this file by hand, you run the risk of breaking this interoperation, as well as introducing errors in source code compilation. * * * * MODIFY THIS FILE AT YOUR OWN RISK * * * * * To find out more about the Enhydra Zeus framework, you can point your browser at where you can download releases, join and discuss Zeus on user and developer mailing lists, and access source code. Please report any bugs through that website.

Fields Summary
private static EntityResolver
entityResolver
The EntityResolver for parser resolution.
private static ErrorHandler
errorHandler
The ErrorHandler for parser resolution.
Constructors Summary
Methods Summary
public static voidsetEntityResolver(org.xml.sax.EntityResolver resolver)

This sets a SAX EntityResolver for this unmarshalling process.

param
resolver the entity resolver to use.

        entityResolver = resolver;
    
public static voidsetErrorHandler(org.xml.sax.ErrorHandler handler)

This sets a SAX ErrorHandler for this unmarshalling process.

param
handler the error handler to use.

        errorHandler = handler;
    
public static WebAppunmarshal(java.io.File file)

        // Delegate to the unmarshal(Reader) method
        return unmarshal(new FileReader(file));
    
public static WebAppunmarshal(java.io.File file, boolean validate)

        // Delegate to the unmarshal(Reader) method
        return unmarshal(new FileReader(file), validate);
    
public static WebAppunmarshal(java.io.InputStream inputStream)

        // Delegate to the unmarshal(Reader) method
        return unmarshal(new InputStreamReader(inputStream));
    
public static WebAppunmarshal(java.io.InputStream inputStream, boolean validate)

        // Delegate to the unmarshal(Reader) method
        return unmarshal(new InputStreamReader(inputStream), validate);
    
public static WebAppunmarshal(java.io.Reader reader)

        // See if validation set as system property
        String property = System.getProperty("org.enhydra.zeus.validation", "false");
        boolean validationState = false;
        if (property.equalsIgnoreCase("true")) {
            validationState = true;
        }

        // Delegate with validation state
        return unmarshal(reader, validationState);
    
public static WebAppunmarshal(java.io.Reader reader, boolean validate)

        // Set the entity resolver, if needed
        if (entityResolver != null) {
            WebAppImpl.setEntityResolver(entityResolver);
        }

        // Set the error handler, if needed
        if (errorHandler != null) {
            WebAppImpl.setErrorHandler(errorHandler);
        } else {
            if (validate) {
                WebAppImpl.setErrorHandler(new WebAppDefaultErrorHandler());
            }
        }

        // Unmarshal using the implementation class
        return WebAppImpl.unmarshal(reader, validate);