Examples of Tag


Examples of flash.swf.Tag

  public void visitTags(TagHandler handler)
  {
    int size = tags.size();
    for (int i = 0; i < size; i++)
    {
      Tag t = tags.get(i);
      t.visit(handler);
    }
  }
View Full Code Here

Examples of fr.ippon.tatami.web.rest.dto.Tag

    @ResponseBody
    @Timed
    public Tag lookupTag(@RequestParam("tag_name") String tagname) {
        User currentUser = authenticationService.getCurrentUser();
        Collection<String> followedTags = userTagRepository.findTags(currentUser.getLogin());
        Tag tag = new Tag();
        tag.setName(tagname);
        if (followedTags.contains(tagname)) {
            tag.setFollowed(true);
        }
        return tag;
    }
View Full Code Here

Examples of game.Tag

  public String playerName;
  public File file;

  public WorldPreview(String path) {
    File f = new File(path);
    Tag worldTag = null;
    if (!f.exists()) {
      Game.debug(DebugLevel.WARNING, "File \"" + f.getAbsolutePath()
          + "\" does not exist!");
      return;
    }
    try {
      worldTag = Tag.readFrom(new FileInputStream(f));
    } catch (IOException e) {
      Game.debug(
          Game.DebugLevel.ERROR,
          "An error occured while loading world from \""
              + f.getAbsolutePath()
              + "\"! The file may be corrupted or ist not a valid save file.");
      e.printStackTrace();
    }
    this.name = worldTag.findTagByName("NAME").getValue().toString();
    this.timePlayed = getDisplayTimeFromMillis((long) worldTag
        .findTagByName("TIME_PLAYED").getValue());
    this.playerName = worldTag.findTagByName("PLAYER")
        .findTagByName("NAME").getValue().toString();
  }
View Full Code Here

Examples of gdurelle.gadget.tagcloud.client.tag.Tag

import gdurelle.gadget.tagcloud.client.tag.WordTag;

public class TagDTO {
    public static Tag convertToTag(TagBean tagbean){
       
        Tag tag = new WordTag(((WordTagBean)tagbean).getWord(), tagbean.getLink());
        tag.setNumberOfOccurences(tagbean.getNumberOfOccurences());
        tag.setId(tagbean.getId());
       
        return tag;
    }
View Full Code Here

Examples of gherkin.formatter.model.Tag

        stash.comment(new Comment(comment, line));
    }

    @Override
    public void tag(String tag, Integer line) {
        stash.tag(new Tag(tag, line));
    }
View Full Code Here

Examples of gov.nasa.arc.mct.dbpersistence.dao.Tag

  public void tagComponents(String tag,
      Collection<AbstractComponent> components) {
    EntityManager em = entityManagerFactory.createEntityManager();
    try {
      em.getTransaction().begin();
      Tag t = em.find(Tag.class, tag);
      if (t == null) {
        t = new Tag();
        t.setTagId(tag);
        em.persist(t);
      }

      for (AbstractComponent component:components) {
        ComponentSpec cs = em.find(ComponentSpec.class, component.getComponentId());
        TagAssociation association = new TagAssociation();
        TagAssociationPK tagPK = new TagAssociationPK();
        tagPK.setComponentId(cs.getComponentId());
        tagPK.setTagId(t.getTagId());
        association.setTagAssociationPK(tagPK);
        cs.getTagAssociationCollection().add(association);
      }
     
      em.getTransaction().commit();
View Full Code Here

Examples of jMp3Tag.Tag

    }
  }

  public void saveTag() {
    for (int i = 0; i < files.size(); i++) {
      Tag t = new Tag((String) files.elementAt(i));
      try {
        t.Read();
      } catch (IOException e1) {
        e1.printStackTrace();
      }
      System.out.println("Comienza guardado");
      TextField text;
      text = (TextField) this.get(controls_init+0);
      System.out.println("Title:" + text.getString());
      if (text.getString().compareTo("") != 0) {
        t.setAlbum(text.getString());
        System.out.println("Album <= " + text.getString());
      }

      text = (TextField) this.get(controls_init+1);
      System.out.println("Title:" + text.getString());
      if (text.getString().compareTo("") != 0) {
        t.setComposer(text.getString());
        System.out.println("Composer <= " + text.getString());
      }

      text = (TextField) this.get(controls_init+2);
      if (text.getString().compareTo("") != 0) {
        t.setArtist(text.getString());
        System.out.println("Artist <= " + text.getString());
      }

      text = (TextField) this.get(controls_init+3);
      if (text.getString().compareTo("") != 0) {
        t.setYear(text.getString());
        System.out.println("Year <= " + text.getString());
      }
      try {
        t.Save(true);
      } catch (IOException e) {
        e.printStackTrace();
      }
    }
  }
View Full Code Here

Examples of javax.faces.view.facelets.Tag

        }
    }

    public void endTag()
    {
        Tag tag = (Tag) this.tags.pop();

        this.addInstruction(new EndElementInstruction(tag.getQName()));

        if (this.startTagOpen)
        {
            this.buffer.append("/>");
            this.startTagOpen = false;
        }
        else
        {
            this.buffer.append("</").append(tag.getQName()).append('>');
        }
    }
View Full Code Here

Examples of javax.servlet.jsp.tagext.Tag

    evaluateExpressions();
    return super.doStartTag();
  }

  public int doEndTag() throws JspException {
    Tag t = findAncestorWithClass(this, SelectObjectsTag.class);
    if (t == null)
      throw new JspTagException("Le tag param doit etre dans un tag selectObjects");

    if (_name == null && _name.equals(""))
      return EVAL_PAGE;
View Full Code Here

Examples of javax.swing.text.html.HTML.Tag

     * @see javax.swing.text.html.HTML.Tag#TH
     * @see javax.swing.text.html.HTML.Tag#TD
     */
    private void tableCell( boolean headerRow, MutableAttributeSet attributes )
    {
        Tag t = ( headerRow ? HtmlMarkup.TH : HtmlMarkup.TD );

        if ( attributes == null )
        {
            writeStartTag( t, null );
        }
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.