Package wt.httpgw

Class URLData

java.lang.Object
wt.httpgw.URLData
All Implemented Interfaces:
Comparator

public class URLData extends Object implements Comparator
The URLData class is a data structure utilized by the URLFactory and other classes that need the capability to store explicitly the URL information necessary to construct URLs and HREFs in the Windchill environment. The standard URL object is not applicable since it has no mechanism to separate an application root from the package heirarchy.

The URLData class supports the Comparator interface and may be used with the collections framework to be sorted and searched. The Name member is used to compare objects and two objects are considered equal is they have the same Name.

Optionally resources and query strings may be stored as part of the web path in the URLData class.

The packagePath should be declared with the Windchill codebase leading the packagepath. For example, if the package path is defined as wt/clients with a codebase of Windchill then the package path should take on the form /Windchill/wt/clients/



Supported API: true
Extendable: false