Package com.citytechinc.cq.component.annotations

Examples of com.citytechinc.cq.component.annotations.TagNameSpace


      return null;
    }

    List<DialogElement> namespaces = new ArrayList<DialogElement>();
        for (int i=0; i < tagAnnotation.namespaces().length; i++) {
            TagNameSpace ns = tagAnnotation.namespaces()[i];

            String max = null;
            if (ns.maximum() > -1) {
                max = Integer.toString(ns.maximum());
            }
            NamespaceParameters namespaceParameters = new NamespaceParameters();
            namespaceParameters.setFieldName("namespace" + i);
            namespaceParameters.setName(ns.value());
            namespaceParameters.setMaximum(max);
            Namespace n = new Namespace(namespaceParameters);
            namespaces.add(n);
        }
View Full Code Here

TOP

Related Classes of com.citytechinc.cq.component.annotations.TagNameSpace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.