|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.impl.wadl.inference.schema.Particle.Factory
public static class Particle.Factory
A static factory class for creating new instances.
Constructor Summary | |
---|---|
Particle.Factory()
|
Method Summary | |
---|---|
static Particle |
newAttributeInstance(Schema schema,
java.lang.String name)
Create a blank new Particle representing an xs:attribute. |
static Particle |
newElementInstance(Schema schema,
java.lang.String name)
Create a blank new Particle representing an xs:element. |
static Particle |
newReferenceInstance(Schema schema,
Particle reference)
Create a blank new Particle representing a reference to an element or attribute within a separate namespace. |
static Particle |
parse(com.eviware.soapui.inferredSchema.ParticleConfig xml,
Schema schema)
Constructs a Particle 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 |
---|
public Particle.Factory()
Method Detail |
---|
public static Particle newElementInstance(Schema schema, java.lang.String name)
schema
- The Schema in which the element will live.name
- A name to give the newly created element.
public static Particle newAttributeInstance(Schema schema, java.lang.String name)
schema
- The Schema in which the attribute will live.name
- A name to give the newly created attribute.
public static Particle newReferenceInstance(Schema schema, Particle reference)
schema
- The Schema in which the reference will live.reference
- The Particle to create a reference to.
public static Particle parse(com.eviware.soapui.inferredSchema.ParticleConfig xml, Schema schema)
xml
- XmlObject to which data has previously been saved.schema
- The Schema in which to place the newly constructed Particle.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |