Class ExpressionBuilder

  • All Implemented Interfaces:
    com.sun.xml.xsom.visitor.XSTermFunction<Expression>

    public final class ExpressionBuilder
    extends Object
    implements com.sun.xml.xsom.visitor.XSTermFunction<Expression>
    Visits XSParticle and creates a corresponding Expression tree.
    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • createTree

        public static Expression createTree​(com.sun.xml.xsom.XSParticle p)
      • wildcard

        public Expression wildcard​(com.sun.xml.xsom.XSWildcard wc)
        We can only have one XmlAnyElement property, so all the wildcards need to be treated as one node.
        Specified by:
        wildcard in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
      • modelGroupDecl

        public Expression modelGroupDecl​(com.sun.xml.xsom.XSModelGroupDecl decl)
        Specified by:
        modelGroupDecl in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
      • modelGroup

        public Expression modelGroup​(com.sun.xml.xsom.XSModelGroup group)
        Specified by:
        modelGroup in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
      • elementDecl

        public Element elementDecl​(com.sun.xml.xsom.XSElementDecl decl)
        Specified by:
        elementDecl in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
      • particle

        public Expression particle​(com.sun.xml.xsom.XSParticle p)