|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.schema.SchemaParticleImpl
org.apache.xmlbeans.impl.schema.SchemaLocalElementImpl
public class SchemaLocalElementImpl
| Field Summary | |
|---|---|
protected boolean |
_abs
|
| Fields inherited from class org.apache.xmlbeans.impl.schema.SchemaParticleImpl |
|---|
_parseObject |
| Fields inherited from interface org.apache.xmlbeans.SchemaParticle |
|---|
ALL, CHOICE, ELEMENT, LAX, SEQUENCE, SKIP, STRICT, WILDCARD |
| Constructor Summary | |
|---|---|
SchemaLocalElementImpl()
|
|
| Method Summary | |
|---|---|
boolean |
blockExtension()
True if extension is blocked. |
boolean |
blockRestriction()
True if restriction is blocked. |
boolean |
blockSubstitution()
True if element substitution is blocked. |
SchemaAnnotation |
getAnnotation()
Returns the Schema annotation object or null if none present |
SchemaIdentityConstraint.Ref[] |
getIdentityConstraintRefs()
|
SchemaIdentityConstraint[] |
getIdentityConstraints()
Returns all the Key, KeyRef, and Unique constraints on this element. |
SOAPArrayType |
getWSDLArrayType()
|
boolean |
isAbstract()
True if this element is prohibited in content. |
void |
setAbstract(boolean abs)
|
void |
setAnnotation(SchemaAnnotation ann)
|
void |
setBlock(boolean extension,
boolean restriction,
boolean substitution)
|
void |
setIdentityConstraints(SchemaIdentityConstraint.Ref[] constraints)
|
void |
setWsdlArrayType(SOAPArrayType arrayType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.xmlbeans.SchemaField |
|---|
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillable |
| Field Detail |
|---|
protected boolean _abs
| Constructor Detail |
|---|
public SchemaLocalElementImpl()
| Method Detail |
|---|
public boolean blockExtension()
SchemaLocalElement
blockExtension in interface SchemaLocalElementpublic boolean blockRestriction()
SchemaLocalElement
blockRestriction in interface SchemaLocalElementpublic boolean blockSubstitution()
SchemaLocalElement
blockSubstitution in interface SchemaLocalElementpublic boolean isAbstract()
SchemaLocalElementAlthough local elements cannot be abstract, if an element use is a ref to a global element, then the flag from the global element is copied in to the local element where the use occurs.
isAbstract in interface SchemaLocalElementpublic void setAbstract(boolean abs)
public void setBlock(boolean extension,
boolean restriction,
boolean substitution)
public void setAnnotation(SchemaAnnotation ann)
public void setWsdlArrayType(SOAPArrayType arrayType)
public SchemaAnnotation getAnnotation()
SchemaAnnotated
getAnnotation in interface SchemaAnnotatedpublic SOAPArrayType getWSDLArrayType()
getWSDLArrayType in interface SchemaWSDLArrayTypepublic void setIdentityConstraints(SchemaIdentityConstraint.Ref[] constraints)
public SchemaIdentityConstraint[] getIdentityConstraints()
SchemaLocalElement
getIdentityConstraints in interface SchemaLocalElementpublic SchemaIdentityConstraint.Ref[] getIdentityConstraintRefs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||