Get the full string for this tag. If not found, return the tag.

@param tag
the tag.
@return the full string.
973014
public final String fullstring(final String tag) {
        String fullstring = getToken(tag).getFullString();
        if (fullstring == null) {
            fullstring = tag;
        }
        return fullstring;
    }
690029
private String filterTag(String tag) {
	  AttributeValues answerAV = TagSet.getTagSet().fromTag(tag);
	  answerAV.removeNonlexicalAttributes();
	  return TagSet.getTagSet().toTag(answerAV);
  }
536866
private static void appendTag(String tag, StringBuilder buffer) {
        if (buffer.length() != 0) {
            buffer.append(UNDERSCORE);
        }

        buffer.append(tag);
    }
20584
public static Set<Emoji> getForTag(String tag) {
    if (tag == null) {
      return null;
    }
    return EMOJIS_BY_TAG.get(tag);
  }
1069151
public String getFullName() {
	String fullName;
	if (tagLib != null) {
	    fullName = tagLib.getNameSpaceAndSeparator() + name;
	}
	else {
	    fullName = name;
	}
	return fullName;
    }
709305
public function getTags ($tag)
	{
		
		$tags	= array ();
		
		foreach ($this->lines as $line)
		{
			if (strpos ($line, '@' . $tag) === 0)
			{
				$tags[]	= trim (substr ($line, strlen ('@' . $tag)));
			}
		}
		
		return $tags;
		
	}
609971
public java.lang.String getFullName() {
    java.lang.Object ref = fullName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      fullName_ = s;
      return s;
    }
  }
73575
private String getNamedTagText(final Element element, final String tagName) {
		Element foundElement = XmlElementUtil.getFirstElementByTagName(element, tagName);
		if (foundElement == null) {
			return "";
		} else {
			return foundElement.getTextContent();
		}
	}
777438
public String getTagValue(String tagName) {

        Tag[] tags = getTagMap().get(tagName);
        if (tags == null || tags.length == 0) {
            return null;
        }

        return tags[tags.length - 1].getText();
    }
994027
public static String getClosingTag(String tag)
	{
		StringBuffer _result = new StringBuffer();
		return doAppendClosingTag(_result, tag).toString();
	}
1176430
public String getInputTagText() {
        final TagView inputTagView = getInputTag();
        if (inputTagView != null) {
            return inputTagView.getText().toString();
        }
        return null;
    }
1352751
@SuppressWarnings("unchecked")
	public T tag(final String tag) {
		if (this.tags == null) {
			this.tags = new HashSet<>();
		}

		this.tags.add(tag);
		return (T) this;
	}
207274
public static String tag(String tag, String... content) {
		return openTag(tag, null, null, content) + closeTag(tag);
	}
329187
public static String translate(String tag)
    {
        String cn = translator.get(tag);
        if (cn == null) return tag;
        return cn;
    }
79153
public static int getType(String tag) {
        if (ElementTags.SUBJECT.equals(tag)) {
            return Element.SUBJECT;
        }
        if (ElementTags.KEYWORDS.equals(tag)) {
            return Element.KEYWORDS;
        }
        if (ElementTags.AUTHOR.equals(tag)) {
            return Element.AUTHOR;
        }
        if (ElementTags.TITLE.equals(tag)) {
            return Element.TITLE;
        }
        if (ElementTags.PRODUCER.equals(tag)) {
            return Element.PRODUCER;
        }
        if (ElementTags.CREATIONDATE.equals(tag)) {
            return Element.CREATIONDATE;
        }
        return Element.HEADER;
    }
853009
public function getTag($tag)
    {
        if (!isset($this->tags[ $tag ])) {
            throw new \OutOfBoundsException("Tag {$tag} does not exist.");
        }

        return $this->tags[ $tag ];
    }
1228374
protected static String tagsToString(Set<Tag> tags) {
        StringBuilder sb = new StringBuilder();
        for (Tag tag : tags) {
            if (sb.length() > 0) {
                sb.append('\r');
            }
            sb.append(tag.key).append(Tag.KEY_VALUE_SEPARATOR).append(tag.value);
        }
        return sb.toString();
    }