com.eviware.soapui.impl.wadl.inference
Class InferredSchema.Factory

java.lang.Object
  extended by com.eviware.soapui.impl.wadl.inference.InferredSchema.Factory
Enclosing interface:
InferredSchema

public static class InferredSchema.Factory
extends java.lang.Object

Static factory class for creating new instances.

Author:
Dain Nilsson

Constructor Summary
InferredSchema.Factory()
           
 
Method Summary
static InferredSchema newInstance()
          Creates a new empty schema.
static InferredSchema parse(java.io.InputStream is)
          Decodes and parses the given InputStream as a serialized InferredSchema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InferredSchema.Factory

public InferredSchema.Factory()
Method Detail

newInstance

public static InferredSchema newInstance()
Creates a new empty schema.

Returns:
A new, blank InferredSchema.

parse

public static InferredSchema parse(java.io.InputStream is)
                            throws org.apache.xmlbeans.XmlException,
                                   java.io.IOException
Decodes and parses the given InputStream as a serialized InferredSchema.

Parameters:
is -
Returns:
An InferredSchema containing previously saved data.
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException


Copyright © 2005-2009 eviware.com. All Rights Reserved.