JACK 5.4 JACOB Application Interface

aos.apib
Class TypeDict

java.lang.Object
  extended byaos.apib.TypeDict

public class TypeDict
extends java.lang.Object

TypeDict objects define input JACOB dictionaries. The dictionary is an association between tags and StreamerSupport objects.


Constructor Summary
TypeDict()
          Constructs an empty TypeDict.
 
Method Summary
 void add(java.lang.String t, StreamerSupport s)
          Adds an association between a tag and a StreamerSupport object.
 java.util.Enumeration elements()
          Returns an Enumeration of the StreamerSupport objects in the dictionary.
 boolean exists(java.lang.String s)
           
 StreamerSupport find(java.lang.String s)
          Locates the StreamerSupport object associated with a given tag.
 boolean initialize(java.lang.String classes)
          Processes Initializer classes for this TypeDict.
 boolean isEmpty()
          Tells whether or not the dictionary is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeDict

public TypeDict()
Constructs an empty TypeDict.

Method Detail

isEmpty

public boolean isEmpty()
Tells whether or not the dictionary is empty.


elements

public java.util.Enumeration elements()
Returns an Enumeration of the StreamerSupport objects in the dictionary. The objects are not enumerated in any specific order, and the enumeration order may change when more associations are added.


add

public void add(java.lang.String t,
                StreamerSupport s)
Adds an association between a tag and a StreamerSupport object.


exists

public boolean exists(java.lang.String s)

find

public StreamerSupport find(java.lang.String s)
Locates the StreamerSupport object associated with a given tag. Returns null if no object is found for the tag.


initialize

public boolean initialize(java.lang.String classes)
Processes Initializer classes for this TypeDict. The argument is a string of class names separated by a ":" character. This method looks up each named class, constructs an instance using the default constructor, and invokes the Initializer#initialize(TypeDict) method on it.


JACK 5.4 JACOB Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088