XSContentTypeVisitor, XSSimpleTypeVisitor, XSTermVisitor, XSVisitorpublic class SchemaTreeTraverser extends java.lang.Object implements XSVisitor, XSSimpleTypeVisitor
visit(XSSchemaSet)
function on your schema set.getModel(). SchemaTreeTraverser.SchemaTreeNode,
and the model itself is SchemaTreeTraverser.SchemaTreeModel. You can
use SchemaTreeTraverser.SchemaTreeCellRenderer as a cell renderer for
your tree.| Modifier and Type | Class | Description |
|---|---|---|
static class |
SchemaTreeTraverser.SchemaRootNode |
The root node of the schema hierarchy tree.
|
static class |
SchemaTreeTraverser.SchemaTreeCellRenderer |
Sample cell renderer for the schema tree.
|
static class |
SchemaTreeTraverser.SchemaTreeModel |
Tree model for schema hierarchy tree.
|
static class |
SchemaTreeTraverser.SchemaTreeNode |
The node of the schema hierarchy tree.
|
| Constructor | Description |
|---|---|
SchemaTreeTraverser() |
Simple constructor.
|
public SchemaTreeTraverser.SchemaTreeModel getModel()
this traverser.this traverser.public void visit(XSSchemaSet s)
s - Root schema set.public void attGroupDecl(XSAttGroupDecl decl)
attGroupDecl in interface XSVisitorpublic void dumpRef(XSAttGroupDecl decl)
decl - Attribute group decalration reference.public void attributeUse(XSAttributeUse use)
attributeUse in interface XSVisitorpublic void attributeDecl(XSAttributeDecl decl)
attributeDecl in interface XSVisitorpublic void simpleType(XSSimpleType type)
simpleType in interface XSContentTypeVisitorpublic void listSimpleType(XSListSimpleType type)
listSimpleType in interface XSSimpleTypeVisitorpublic void unionSimpleType(XSUnionSimpleType type)
unionSimpleType in interface XSSimpleTypeVisitorpublic void restrictionSimpleType(XSRestrictionSimpleType type)
restrictionSimpleType in interface XSSimpleTypeVisitorpublic void notation(XSNotation notation)
public void complexType(XSComplexType type)
complexType in interface XSVisitorpublic void elementDecl(XSElementDecl decl)
elementDecl in interface XSTermVisitorpublic void modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl in interface XSTermVisitorpublic void modelGroup(XSModelGroup group)
modelGroup in interface XSTermVisitorpublic void particle(XSParticle part)
particle in interface XSContentTypeVisitorpublic void wildcard(XSWildcard wc)
wildcard in interface XSTermVisitorpublic void annotation(XSAnnotation ann)
annotation in interface XSVisitorpublic void empty(XSContentType t)
empty in interface XSContentTypeVisitorpublic void identityConstraint(XSIdentityConstraint ic)
identityConstraint in interface XSVisitorCopyright © 2018 Oracle Corporation. All rights reserved.