Package edu.neu.ccs.task.dialogue

Examples of edu.neu.ccs.task.dialogue.Display


    inputs = null;
    didDisplay = false;
   
    while (agent.isLive()) {
      if (agent.nextTurn()) {
        Display d = agent.getCurrentDisplay();
        if (d != null) {
          String url = d.getUrl(agent.getFocusTask());
          output = Command.page(url, d.getType(), d.getSize(), d.isAuth());
          return;
        }
       
        if (doSpeech())
          return;
View Full Code Here


        Attribute sizeA = nextE.getAttributeByName(A_SIZE);
        String size = (sizeA==null) ? null : sizeA.getValue();
        Attribute authA = nextE.getAttributeByName(A_AUTHENTICATION);
        boolean auth = (authA!=null) && Boolean.parseBoolean(authA.getValue());

        b.display = new Display(url, type, size, auth);
        skipElement(er);
      } else
        skipElement(er);
    }
   
View Full Code Here

TOP

Related Classes of edu.neu.ccs.task.dialogue.Display

Copyright © 2018 www.massapicom. 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.