Package schema2template.model
Class MSVNameClassVisitorList
- java.lang.Object
-
- schema2template.model.MSVNameClassVisitorList
-
- All Implemented Interfaces:
com.sun.msv.grammar.NameClassVisitor
public class MSVNameClassVisitorList extends Object implements com.sun.msv.grammar.NameClassVisitor
Returns the Name(s) of an Expression (or more precisely: of its Nameclass) in a List of Strings. A list instead of a single name is necessary as there might be multiple names for a single element definition. For instance in ODF 1.2:text:reference-ref text:bookmark-ref Convention: "*" will be returned as the wildcard for "any name"
Usage example: (List<String>) myExpression.nameclass.visit(myMSVNameClassVisitorList)
Please note that you do not use any method of this class directly!
-
-
Constructor Summary
Constructors Constructor Description MSVNameClassVisitorList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
onAnyName(com.sun.msv.grammar.AnyNameClass arg0)
List<String>
onChoice(com.sun.msv.grammar.ChoiceNameClass arg0)
List<String>
onDifference(com.sun.msv.grammar.DifferenceNameClass arg0)
List<String>
onNot(com.sun.msv.grammar.NotNameClass arg0)
List<String>
onNsName(com.sun.msv.grammar.NamespaceNameClass arg0)
List<String>
onSimple(com.sun.msv.grammar.SimpleNameClass arg0)
-
-
-
Method Detail
-
onAnyName
public List<String> onAnyName(com.sun.msv.grammar.AnyNameClass arg0)
- Specified by:
onAnyName
in interfacecom.sun.msv.grammar.NameClassVisitor
-
onChoice
public List<String> onChoice(com.sun.msv.grammar.ChoiceNameClass arg0)
- Specified by:
onChoice
in interfacecom.sun.msv.grammar.NameClassVisitor
-
onDifference
public List<String> onDifference(com.sun.msv.grammar.DifferenceNameClass arg0)
- Specified by:
onDifference
in interfacecom.sun.msv.grammar.NameClassVisitor
-
onNot
public List<String> onNot(com.sun.msv.grammar.NotNameClass arg0)
- Specified by:
onNot
in interfacecom.sun.msv.grammar.NameClassVisitor
-
onNsName
public List<String> onNsName(com.sun.msv.grammar.NamespaceNameClass arg0)
- Specified by:
onNsName
in interfacecom.sun.msv.grammar.NameClassVisitor
-
-