|
||||||||||
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.particles.ReferenceParticle
public class ReferenceParticle
A ReferenceParticle is a reference to a particle in another namespace. It may be either an xs:element or an xs:attribute.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.eviware.soapui.impl.wadl.inference.schema.Particle |
---|
Particle.Factory, Particle.ParticleType |
Constructor Summary | |
---|---|
ReferenceParticle(com.eviware.soapui.inferredSchema.ReferenceParticleConfig xml,
Schema schema)
|
|
ReferenceParticle(Schema schema,
Particle reference)
|
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String key)
Get the attribute value that corresponds to the given name. |
javax.xml.namespace.QName |
getName()
Get the QName of this Particle. |
Particle.ParticleType |
getPType()
Get the ParticleType of the Particle, that is, attribute or element. |
Type |
getType()
Get the Type of the element or attribute that is described by this particle. |
com.eviware.soapui.inferredSchema.ReferenceParticleConfig |
save()
|
void |
setAttribute(java.lang.String key,
java.lang.String value)
Set an attribute. |
void |
setType(Type type)
Set the Type of the element or attribute that is described by this particle. |
java.lang.String |
toString()
|
void |
validate(Context context)
Validates an XML document contained in a given Context object, at the position specified by the cursor contained in same Context object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReferenceParticle(Schema schema, Particle reference)
public ReferenceParticle(com.eviware.soapui.inferredSchema.ReferenceParticleConfig xml, Schema schema)
Method Detail |
---|
public com.eviware.soapui.inferredSchema.ReferenceParticleConfig save()
save
in interface Particle
public javax.xml.namespace.QName getName()
Particle
getName
in interface Particle
public java.lang.String getAttribute(java.lang.String key)
Particle
getAttribute
in interface Particle
key
- The name of the attribute to get the value for.
public void setAttribute(java.lang.String key, java.lang.String value)
Particle
setAttribute
in interface Particle
key
- The name of the attribute to set.value
- The value to set.public Type getType()
Particle
getType
in interface Particle
public void setType(Type type)
Particle
setType
in interface Particle
type
- The Type to set.public void validate(Context context) throws org.apache.xmlbeans.XmlException
Particle
validate
in interface Particle
context
- A Context object containing the XML data to be validated, and
other needed contextual variables.
org.apache.xmlbeans.XmlException
- On unresolvable validation error.public java.lang.String toString()
toString
in class java.lang.Object
public Particle.ParticleType getPType()
Particle
getPType
in interface Particle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |