Examples of TLDTagElement


Examples of org.eclipse.jst.jsf.designtime.internal.view.model.jsp.TLDTagElement

                        "Tag class type=%s\nTag type=%s", type, tagType)); //$NON-NLS-1$
            }

            if (tagType == TagType.COMPONENT)
            {
                final TLDTagElement element = createComponentTagElement(tldDecl, project);
               
                if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR_PERF)
                {
                    String name = element != null ? element.toString()
                            : "<none>"; //$NON-NLS-1$
                    System.out.printf(
                            "Time to create component tag element %s was %d\n", //$NON-NLS-1$
                            name, Long.valueOf(System.nanoTime() - startTime));
                }
                return element;
            }
            else if (tagType == TagType.CONVERTER)
            {
                final TLDTagElement element =  createConverterTagElement(tldDecl, project);
                if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR_PERF)
                {
                    String name = element != null ? element.toString()
                            : "<none>"; //$NON-NLS-1$
                    System.out.printf(
                            "Time to create converter tag element %s was %d\n", //$NON-NLS-1$
                            name, Long.valueOf(System.nanoTime() - startTime));
                }
                return element;
            }
            else if (tagType == TagType.VALIDATOR)
            {
                final TLDTagElement element =  createValidatorTagElement(tldDecl, project);
                if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR_PERF)
                {
                    String name = element != null ? element.toString()
                            : "<none>"; //$NON-NLS-1$
                    System.out.printf(
                            "Time to create validator tag element %s was %d\n", //$NON-NLS-1$
                            name, Long.valueOf(System.nanoTime() - startTime));
                }
                return element;
            }
            else if (tagType == TagType.HANDLER)
            {
                final TLDTagElement element =  createHandlerTagElement(tldDecl, type);
                if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR_PERF)
                {
                    String name = element != null ? element.toString()
                            : "<none>"; //$NON-NLS-1$
                    System.out.printf(
                            "Time to create handler tag element %s was %d\n", //$NON-NLS-1$
                            name, Long.valueOf(System.nanoTime() - startTime));
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.