|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl
public class SchemaTypeVisitorImpl
This state machine validates element order based on a deterministic content model.
| Constructor Summary | |
|---|---|
SchemaTypeVisitorImpl()
|
|
SchemaTypeVisitorImpl(SchemaParticle part)
Construct it by passing the root of the content model. |
|
| Method Summary | |
|---|---|
SchemaParticle |
currentParticle()
Returns the current schema element |
org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl.VisitorState[] |
expand(org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl.VisitorState[] orig)
|
java.lang.String |
get_default_text()
Returns default text |
int |
get_elementflags()
Constructs elementflags |
SchemaField |
get_schema_field()
Returns the schema field for this field. |
void |
init(SchemaParticle part)
|
boolean |
isAllValid()
Returns true if the entire content up to now is valid. |
boolean |
testValid(javax.xml.namespace.QName eltName)
|
boolean |
visit(javax.xml.namespace.QName eltName)
Traverses a deterministic content model, checking for validity at any given point. |
boolean |
visit(javax.xml.namespace.QName eltName,
boolean testValidity)
The actual implementation that traverses a deterministic content model, checking for validity at any given point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaTypeVisitorImpl(SchemaParticle part)
public SchemaTypeVisitorImpl()
| Method Detail |
|---|
public void init(SchemaParticle part)
public org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl.VisitorState[] expand(org.apache.xmlbeans.impl.schema.SchemaTypeVisitorImpl.VisitorState[] orig)
public boolean visit(javax.xml.namespace.QName eltName)
visit in interface TypeStoreVisitor
public boolean visit(javax.xml.namespace.QName eltName,
boolean testValidity)
public boolean testValid(javax.xml.namespace.QName eltName)
public int get_elementflags()
get_elementflags in interface TypeStoreVisitorpublic java.lang.String get_default_text()
get_default_text in interface TypeStoreVisitorpublic SchemaField get_schema_field()
get_schema_field in interface TypeStoreVisitorpublic SchemaParticle currentParticle()
public boolean isAllValid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||