public class SchemaTreeTraverser extends Object implements XSVisitor, XSSimpleTypeVisitor
visit(com.sun.xml.xsom.XSSchemaSet)
function on your schema set.>/li>
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 and 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 and 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 © 2017 Oracle. All rights reserved.