Web-4-All v3.00 Plug-in API Specification

ca.utoronto.atrc.web4all.configuration
Class AccLipInfoPackage

java.lang.Object
  extended byca.utoronto.atrc.web4all.configuration.AccLipInfoPackage

public class AccLipInfoPackage
extends java.lang.Object

A package of information based on the contents of an ACCLIP preferences document, and individuated by a type of technology (e.g., a screen reader). Thus, an association is made between a type of technology and preferences for it. The package contains two sets of preferences, namely, the generic preferences and preferences specific for an application (e.g., JAWS). All the information is taken from a document based on the ACCLIP schema, however, it may come from multiple such documents.


Constructor Summary
AccLipInfoPackage(java.lang.String inAppType, org.w3c.dom.Element inGenericPrefs, org.w3c.dom.Element inSpecificPrefs)
          Instantiate the package based on the given type and preferences sets.
 
Method Summary
 java.lang.String getAppType()
          Retrieve the type of technology.
 org.w3c.dom.Element getGenericPrefs()
          Retrieve the generic preferences container Element.
 org.w3c.dom.Element getSpecificPrefs()
          Retrieve the specific preferences container Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccLipInfoPackage

public AccLipInfoPackage(java.lang.String inAppType,
                         org.w3c.dom.Element inGenericPrefs,
                         org.w3c.dom.Element inSpecificPrefs)
Instantiate the package based on the given type and preferences sets.

Parameters:
inAppType - The type of application from the preferences document/schema associated with the two sets of preferences.
inGenericPrefs - The generic preferences from the document for this type of technology.
inSpecificPrefs - The <application> Element for this type of technology. Note that this Element may come from the same preferences document as inGenericPrefs, but it may not -- it may be a "stand-alone" Element.
Method Detail

getAppType

public java.lang.String getAppType()
Retrieve the type of technology.

Returns:
The application type as a String. This is one of the technology types defined in the ACCLIP schema.

getGenericPrefs

public org.w3c.dom.Element getGenericPrefs()
Retrieve the generic preferences container Element.

Returns:
The Element, from an ACCLIP document, that contains the generic preferences.

getSpecificPrefs

public org.w3c.dom.Element getSpecificPrefs()
Retrieve the specific preferences container Element. Note that this is an <application> Element, and may be part of the same document as the generic preferences, but can be a "stand-alone" Element.

Returns:
The Element that contains the specific preferences.

Web-4-All v3.00 Plug-in API Specification