|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Particle
An attribute or element in the schema. Has a name, a type, and zero or more attributes.
Nested Class Summary | |
---|---|
static class |
Particle.Factory
A static factory class for creating new instances. |
static class |
Particle.ParticleType
An enum representing one of two particle types, element or attribute. |
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.ParticleConfig |
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. |
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. |
Method Detail |
---|
javax.xml.namespace.QName getName()
Particle.ParticleType getPType()
Type getType()
void setType(Type type)
type
- The Type to set.java.lang.String getAttribute(java.lang.String key)
key
- The name of the attribute to get the value for.
void setAttribute(java.lang.String key, java.lang.String value)
key
- The name of the attribute to set.value
- The value to set.void validate(Context context) throws org.apache.xmlbeans.XmlException
context
- A Context object containing the XML data to be validated, and
other needed contextual variables.
org.apache.xmlbeans.XmlException
- On unresolvable validation error.com.eviware.soapui.inferredSchema.ParticleConfig save()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |