Class MSVNameClassVisitorList

  • All Implemented Interfaces:

    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 Detail

      • MSVNameClassVisitorList

        public MSVNameClassVisitorList()
    • Method Detail

      • onAnyName

        public List<String> onAnyName​(com.sun.msv.grammar.AnyNameClass arg0)
        Specified by:
        onAnyName in interface com.sun.msv.grammar.NameClassVisitor
      • onChoice

        public List<String> onChoice​(com.sun.msv.grammar.ChoiceNameClass arg0)
        Specified by:
        onChoice in interface com.sun.msv.grammar.NameClassVisitor
      • onDifference

        public List<String> onDifference​(com.sun.msv.grammar.DifferenceNameClass arg0)
        Specified by:
        onDifference in interface com.sun.msv.grammar.NameClassVisitor
      • onNot

        public List<String> onNot​(com.sun.msv.grammar.NotNameClass arg0)
        Specified by:
        onNot in interface com.sun.msv.grammar.NameClassVisitor
      • onNsName

        public List<String> onNsName​(com.sun.msv.grammar.NamespaceNameClass arg0)
        Specified by:
        onNsName in interface com.sun.msv.grammar.NameClassVisitor
      • onSimple

        public List<String> onSimple​(com.sun.msv.grammar.SimpleNameClass arg0)
        Specified by:
        onSimple in interface com.sun.msv.grammar.NameClassVisitor