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

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

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

A static factory class for creating new instances.

Author:
Dain Nilsson

Constructor Summary
Content.Factory()
           
 
Method Summary
static Content newContent(Schema schema)
          Creates a new, empty, Content.
static Content parse(com.eviware.soapui.inferredSchema.ContentConfig xml, Schema schema)
          Constructs a Content object using previously saved data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content.Factory

public Content.Factory()
Method Detail

newContent

public static Content newContent(Schema schema)
Creates a new, empty, Content.

Parameters:
schema - The Schema in which the Content will live.
Returns:
Returns the newly created Content.

parse

public static Content parse(com.eviware.soapui.inferredSchema.ContentConfig xml,
                            Schema schema)
Constructs a Content object using previously saved data.

Parameters:
xml - XmlObject to which data has previously been saved.
schema - The Schema in which to place the newly constructed Content.
Returns:
Returns the newly constructed Content.


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