A static factory class for creating new instances.
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | 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(ParticleConfig xml, Schema schema)Constructs a Particle object using previously saved data. | 
| Methods inherited from class | Name | 
|---|---|
| class java.lang.Object | java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
Create a blank new Particle representing an xs:attribute.
schema -  The Schema in which the attribute will live.name -    A name to give the newly created attribute.Create a blank new Particle representing an xs:element.
schema -  The Schema in which the element will live.name -    A name to give the newly created element.Create a blank new Particle representing a reference to an element or attribute within a separate namespace.
schema -     The Schema in which the reference will live.reference -  The Particle to create a reference to.Constructs a Particle object using previously saved data.
xml -     XmlObject to which data has previously been saved.schema -  The Schema in which to place the newly constructed Particle.