com.eviware.soapui.impl.wadl.inference.schema
Class Type.Factory

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

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

A static factory class for creating new instances.

Author:
Dain Nilsson

Constructor Summary
Type.Factory()
           
 
Method Summary
static Type newType(Schema schema)
          Creates a new empty Type object.
static Type parse(com.eviware.soapui.inferredSchema.TypeConfig xml, Schema schema)
          Parses the given XmlObject into a Type instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Type.Factory

public Type.Factory()
Method Detail

newType

public static Type newType(Schema schema)
Creates a new empty Type object.

Parameters:
schema - The Schema in which to place the type.
Returns:
The newly created Type.

parse

public static Type parse(com.eviware.soapui.inferredSchema.TypeConfig xml,
                         Schema schema)
Parses the given XmlObject into a Type instance.

Parameters:
xml - The XmlObject storing the saved type.
schema - The schema in which to place the type.
Returns:
The loaded type.


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