Examples of tagName()


Examples of javax.faces.component.FacesComponent.tagName()

        }
        List<FacesComponentUsage> componentsForNamespace = appAss.getComponentsForNamespace(ns);
        String tagName;
        for (FacesComponentUsage cur: componentsForNamespace) {
            FacesComponent curFacesComponent = cur.getAnnotation();
            tagName = curFacesComponent.tagName();
            // if the current entry has an explicitly declared tagName...
            if (null != tagName && 0 < tagName.length()) {
                // compare it to the argument tagName
                if (localName.equals(tagName)) {
                    result = cur;
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagConstraints.tagName()

          parentPath = parentWidget;
          added.add(processorClass.getCanonicalName());
          TagConstraints childAttributes = ViewUtils.getChildTagConstraintsAnnotation(processorClass);
          if (childAttributes!= null)
          {
            if (!StringUtils.isEmpty(childAttributes.tagName()))
            {
              parentPath = parentWidget+"_"+childAttributes.tagName();
              if (WidgetCreator.class.isAssignableFrom(childAttributes.type()))
              {
                DeclarativeFactory declarativeFactory = childAttributes.type().getAnnotation(DeclarativeFactory.class);
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagConstraints.tagName()

          TagConstraints childAttributes = ViewUtils.getChildTagConstraintsAnnotation(processorClass);
          if (childAttributes!= null)
          {
            if (!StringUtils.isEmpty(childAttributes.tagName()))
            {
              parentPath = parentWidget+"_"+childAttributes.tagName();
              if (WidgetCreator.class.isAssignableFrom(childAttributes.type()))
              {
                DeclarativeFactory declarativeFactory = childAttributes.type().getAnnotation(DeclarativeFactory.class);
                if (declarativeFactory != null)
                {
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagConstraints.tagName()

                                  Class<?> childProcessorClass, boolean isAgregator,
                                  WidgetChildProcessor<?> processor, Device[] supportedDevices)
    {
      TagConstraints processorAttributes = this.factoryHelper.getChildtrenAttributesAnnotation(childProcessorClass);
      final String widgetProperty = (processorAttributes!=null?processorAttributes.widgetProperty():"");
      String tagName = (processorAttributes!=null?processorAttributes.tagName():"");

      final boolean isAnyWidget = (AnyWidgetChildProcessor.class.isAssignableFrom(childProcessorClass));
      final boolean isAnyWidgetType = (processorAttributes!=null && (AnyWidget.class.isAssignableFrom(processorAttributes.type()) ||
                                       WidgetCreator.class.isAssignableFrom(processorAttributes.type())));
     
View Full Code Here

Examples of org.cruxframework.crux.core.rebind.screen.widget.declarative.TagConstraints.tagName()

  private ChildrenProcessor doCreateChildrenProcessorForSingleChild(Class<?> processorClass, final boolean acceptNoChildren,
                      WidgetChildProcessor<?> processor, Class<?> childProcessorClass, Device[] supportedDevices)
    {
    TagConstraints processorAttributes = this.factoryHelper.getChildtrenAttributesAnnotation(childProcessorClass);
    final String widgetProperty = (processorAttributes!=null?processorAttributes.widgetProperty():"");
    String tagName = (processorAttributes!=null?processorAttributes.tagName():"");

    final boolean isAgregator = isAgregatorProcessor(childProcessorClass);
    final boolean isAnyWidget = (AnyWidgetChildProcessor.class.isAssignableFrom(childProcessorClass));
      final boolean isAnyWidgetType = (processorAttributes!=null && (AnyWidget.class.isAssignableFrom(processorAttributes.type()) ||
           WidgetCreator.class.isAssignableFrom(processorAttributes.type())));
View Full Code Here

Examples of org.jsoup.nodes.Element.tagName()

        final Elements hs = doc.select("h1, h2, h3, h4, h5");

        listBuilder.append("<ul class='b3-solo-list'>");
        for (int i = 0; i < hs.size(); i++) {
            final Element element = hs.get(i);
            final String tagName = element.tagName().toLowerCase();
            final String text = element.text();
            final String id = "b3_solo_" + tagName + "_" + i;

            element.before("<span id='" + id + "'></span>");
View Full Code Here

Examples of org.jsoup.nodes.Element.tagName()

        public void head(Node node, int depth) {
            if (!(node instanceof Element)) {
                return;
            }
            Element tag = (Element) node;
            String tagName = tag.tagName().toLowerCase();
            if (tagName.equals(TAG_BODY)) {
                extractAttribute(tag, ATT_BACKGROUND);
            } else if (tagName.equals(TAG_SCRIPT)) {
                extractAttribute(tag, ATT_SRC);
            } else if (tagName.equals(TAG_BASE)) {
View Full Code Here

Examples of org.jsoup.nodes.Element.tagName()

        public void head(Node node, int depth) {
          if (!(node instanceof Element)) {
            return;
          }
          Element tag = (Element) node;
            String tagName = tag.tagName().toLowerCase();
            if (tagName.equals(TAG_BODY)) {
                extractAttribute(tag, ATT_BACKGROUND);
            } else if (tagName.equals(TAG_SCRIPT)) {
              extractAttribute(tag, ATT_SRC);
            } else if (tagName.equals(TAG_BASE)) {
View Full Code Here

Examples of org.jsoup.nodes.Element.tagName()

  }

  private String extractEventGroup(Element eventDiv) {
    try {
      Element catH2 = eventDiv.previousElementSibling();
      while (!catH2.tagName().toLowerCase().equals("h2")) {
        catH2 = catH2.previousElementSibling();
      }
      Element catA = catH2.select("a").get(0);
      String text = catA.text();
      if (StringUtils.isNotBlank(text)) {
View Full Code Here

Examples of org.jsoup.nodes.Element.tagName()

            StringBuilder description = new StringBuilder();
            Element descriptionPart = element.parent();
            do {
                description.append(descriptionPart.outerHtml());
            } while ((descriptionPart = descriptionPart.nextElementSibling()) != null && !descriptionPart.tagName().equals("h2"));

            File docFile = new File(outputDirectory, name + ".html");
            if (!docFile.exists()) {
                FileUtils.writeStringToFile(docFile, description + "<br><i>Module: " + moduleFile.getName() + "</i>");
            } else {
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.