Examples of TagType


Examples of org.apache.wicket.markup.parser.XmlTag.TagType

      throw new ParseException("Found empty tag: '<>' at" + getLineAndColumnText(),
        input.getPosition());
    }

    // Type of the tag, to be determined next
    final TagType type;

    // If the tag ends in '/', it's a "simple" tag like <foo/>
    if (tagText.endsWith("/"))
    {
      type = TagType.OPEN_CLOSE;
View Full Code Here

Examples of org.apache.wicket.markup.parser.XmlTag.TagType

      throw new ParseException("Found empty tag: '<>' at" + getLineAndColumnText(),
        input.getPosition());
    }

    // Type of the tag, to be determined next
    final TagType type;

    // If the tag ends in '/', it's a "simple" tag like <foo/>
    if (tagText.endsWith("/"))
    {
      type = TagType.OPEN_CLOSE;
View Full Code Here

Examples of org.apache.wicket.markup.parser.XmlTag.TagType

      specialTagHandling(tagText, openBracketIndex, closeBracketIndex);
      return lastType;
    }

    // Type of the tag, to be determined next
    final TagType type;

    // If the tag ends in '/', it's a "simple" tag like <foo/>
    if (tagText.endsWith("/"))
    {
      type = TagType.OPEN_CLOSE;
View Full Code Here

Examples of org.apache.wicket.markup.parser.XmlTag.TagType

      throw new ParseException("Found empty tag: '<>' at" + getLineAndColumnText(),
        input.getPosition());
    }

    // Type of the tag, to be determined next
    final TagType type;

    // If the tag ends in '/', it's a "simple" tag like <foo/>
    if (tagText.endsWith("/"))
    {
      type = TagType.OPEN_CLOSE;
View Full Code Here

Examples of org.eclipse.jst.jsf.common.runtime.internal.view.model.common.IJSFTagElement.TagType

                {
                    JSFCoreTraceOptions.log("Type not found for: "+typeName); //$NON-NLS-1$
                }
                return null;
            }
            final TagType tagType = getJSFComponentTagType(type, project);

            if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR)
            {
                JSFCoreTraceOptions.log(String.format(
                        "Tag class type=%s\nTag type=%s", type, tagType)); //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.jst.jsf.common.runtime.internal.view.model.common.IJSFTagElement.TagType

        else
        {
            throw new IllegalArgumentException();
        }

        TagType tagType = null;

        if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
                componentTags))
        {
            tagType = TagType.COMPONENT;
        }
        else if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
                converterTags))
        {
            tagType = TagType.CONVERTER;
        }
        else if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
                validatorTags))
        {
            tagType = TagType.VALIDATOR;
        }
        else if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
                ALL_HANDLER_TAGS))
        {
            tagType = TagType.HANDLER;
        }

        if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR)
        {
            JSFCoreTraceOptions.log(String.format(
                    "TagAnalyzer.getJSFComponentTagType: tag type is %s", //$NON-NLS-1$
                    tagType != null ? tagType.toString() : "null")); //$NON-NLS-1$
        }
        return tagType;
    }
View Full Code Here

Examples of org.nfctools.api.TagType

      tagScannerListener.onScanningEnded();
  }

  private void handleCard(Card card) {
    byte[] historicalBytes = card.getATR().getHistoricalBytes();
    TagType tagType = AcsTagUtils.identifyTagType(historicalBytes);
    AcsTag acsTag = new AcsTag(tagType, historicalBytes, card);
    if (tagType.equals(TagType.NFCIP)) {
      connectAsInitiator(acsTag);
    }
    else {
      tagListener.onTag(acsTag);
    }
View Full Code Here

Examples of org.nfctools.api.TagType

      try {
        Card card = cardTerminal.connect("direct");

        byte[] historicalBytes = card.getATR().getHistoricalBytes();
        TagType tagType = AcsTagUtils.identifyTagType(historicalBytes);

        ApduTagReaderWriter readerWriter = new ApduTagReaderWriter(new AcsDirectChannelTag(tagType,
            historicalBytes, card));

        try {
View Full Code Here

Examples of org.nfctools.api.TagType

import org.nfctools.utils.NfcUtils;

public class AcsTagUtils {

  public static TagType identifyTagType(byte[] historicalBytes) {
    TagType tagType = TagType.UNKNOWN;
    if (historicalBytes.length >= 11) {
      int tagId = (historicalBytes[9] & 0xff) << 8 | historicalBytes[10];
      switch (tagId) {
        case 0x0001:
          return TagType.MIFARE_CLASSIC_1K;
View Full Code Here

Examples of rabbit.html.TagType

    /** Remove background images from the given block.
     * @param tag the current Tag
     */
    public void handleTag (Tag tag, HtmlBlock block, int tokenIndex) {
  TagType type = tag.getTagType ();
  if (type == TagType.BODY ||
      type == TagType.TABLE ||
      type == TagType.TR ||
      type == TagType.TD) {
      tag.removeAttribute ("background");
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.