|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleTypeVisitor
Helps implementation classes avoid the (breadth-first) traversal logic for XSD SimpleType hierarchies across restrictions, lists, unions and other elements, receiving "visit" events ala. the Visitor pattern.
Restriction,
List,
Union| Method Summary | |
|---|---|
java.lang.String |
getTargetNamespace()
Returns the target namespace for a particular schema instance. |
SimpleType |
getTopLevelSimpleType(javax.xml.namespace.QName name)
Since the the type hierarchy traversal will encounter qualified name references to many simple types, the traversal logic requests a simple type from the visitor client. |
void |
visit(AbstractSimpleType target,
AbstractSimpleType source,
int level)
The top event received when a simple type is encountered in the course of traversal. |
| Method Detail |
|---|
void visit(AbstractSimpleType target,
AbstractSimpleType source,
int level)
target - the target or "child" typesource - the source or "parent" typelevel - the traversal levelSimpleType getTopLevelSimpleType(javax.xml.namespace.QName name)
name - the qualified name of the simple type
java.lang.String getTargetNamespace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||