    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JavaAgent.resource.Language

    java.lang.Object
       |
       +----JavaAgent.resource.Language

public class Language
extends Object

Abstract class which defines the syntax of a finite length string passed between Agents in a message. This string represents a non-proper subset of the total message. (Thus, it could be the entire message or only a portion of the message). Each subclass of Language must have a constructor which takes a String as input and parses the string to construct the Message object.

Copyright (c) 1995, H. Robert Frost, Stanford University. All rights reserved.

Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies, Inc. All rights reserved.

RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and in similar clauses in the FAR and NASA FAR supplement.

This software is bound by the terms and conditions listed in the attached LICENSE file.

##

Language()
  Creates an empty Language instance.
Language(String)
  Creates a Language instance by parsing the input String.

##

parseString(String)
  Takes an empty Language instance and populates it by parsing an input string.

##

Language

     public Language()

  Creates an empty Language instance.

Language

     public Language(String input)

  Creates a Language instance by parsing the input String.

  Parameters:
    input - The string to be parsed.

##

parseString

     public void parseString(String input)

  Takes an empty Language instance and populates it by parsing an input string.

  Parameters:
    input - The string to be parsed.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index