Class XsdSimpleTypeVisitor
- java.lang.Object
-
- org.xmlet.xsdparser.xsdelements.visitors.XsdAnnotatedElementsVisitor
-
- org.xmlet.xsdparser.xsdelements.visitors.XsdSimpleTypeVisitor
-
- All Implemented Interfaces:
XsdAbstractElementVisitor
public class XsdSimpleTypeVisitor extends XsdAnnotatedElementsVisitor
Represents the restrictions of theXsdSimpleTypeelement, which can containXsdList,XsdUnionorXsdRestrictionas children. Can also haveXsdAnnotationas children as per inheritance ofXsdAnnotatedElementsVisitor.
-
-
Field Summary
Fields Modifier and Type Field Description private XsdSimpleTypeownerTheXsdSimpleTypeinstance which owns thisXsdSimpleTypeVisitorinstance.
-
Constructor Summary
Constructors Constructor Description XsdSimpleTypeVisitor(XsdSimpleType owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XsdSimpleTypegetOwner()voidvisit(XsdList element)voidvisit(XsdRestriction element)voidvisit(XsdUnion element)-
Methods inherited from class org.xmlet.xsdparser.xsdelements.visitors.XsdAnnotatedElementsVisitor
visit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xmlet.xsdparser.xsdelements.visitors.XsdAbstractElementVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Field Detail
-
owner
private final XsdSimpleType owner
TheXsdSimpleTypeinstance which owns thisXsdSimpleTypeVisitorinstance. This way this visitor instance can perform changes in theXsdSimpleTypeobject.
-
-
Constructor Detail
-
XsdSimpleTypeVisitor
public XsdSimpleTypeVisitor(XsdSimpleType owner)
-
-
Method Detail
-
getOwner
public XsdSimpleType getOwner()
- Specified by:
getOwnerin interfaceXsdAbstractElementVisitor- Overrides:
getOwnerin classXsdAnnotatedElementsVisitor
-
visit
public void visit(XsdList element)
-
visit
public void visit(XsdUnion element)
-
visit
public void visit(XsdRestriction element)
-
-