XSContentTypeVisitor
, XSSimpleTypeVisitor
, XSTermVisitor
, XSVisitor
public 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 XSVisitor
public void dumpRef(XSAttGroupDecl decl)
decl
- Attribute group decalration reference.public void attributeUse(XSAttributeUse use)
attributeUse
in interface XSVisitor
public void attributeDecl(XSAttributeDecl decl)
attributeDecl
in interface XSVisitor
public void simpleType(XSSimpleType type)
simpleType
in interface XSContentTypeVisitor
public void listSimpleType(XSListSimpleType type)
listSimpleType
in interface XSSimpleTypeVisitor
public void unionSimpleType(XSUnionSimpleType type)
unionSimpleType
in interface XSSimpleTypeVisitor
public void restrictionSimpleType(XSRestrictionSimpleType type)
restrictionSimpleType
in interface XSSimpleTypeVisitor
public void notation(XSNotation notation)
public void complexType(XSComplexType type)
complexType
in interface XSVisitor
public void elementDecl(XSElementDecl decl)
elementDecl
in interface XSTermVisitor
public void modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl
in interface XSTermVisitor
public void modelGroup(XSModelGroup group)
modelGroup
in interface XSTermVisitor
public void particle(XSParticle part)
particle
in interface XSContentTypeVisitor
public void wildcard(XSWildcard wc)
wildcard
in interface XSTermVisitor
public void annotation(XSAnnotation ann)
annotation
in interface XSVisitor
public void empty(XSContentType t)
empty
in interface XSContentTypeVisitor
public void identityConstraint(XSIdentityConstraint ic)
identityConstraint
in interface XSVisitor
Copyright © 2018 Oracle Corporation. All rights reserved.