Lines Matching defs:type

122      * collector for the collecting attribute values by type.
989 // We know that the type table is fully initialized with
990 // BtreeVectors for each type.
1016 // Only record if the type does NOT match.
1280 // type.
1298 // Keys for this table are scope/service type/lang tag. Values are
1306 // is for an abstract type name.
1309 // hashtables. These hashtables are keyed by one of the type keys below,
1338 // current service type rather than the original, and we need
1340 // registration comes in with a different service type from the
1351 // The scope/service type v.s. number of languages. Keys are
1352 // the type/scope, values are a hashtable keyed by lang tag.
1354 // the number of registrations for that type/scope in the
1644 * lacking the service type.
1686 // under a different service type.
1688 ServiceType type = url.getServiceType();
1690 if (!type.isServiceURL()) {
1862 * @return A Vector of String objects that are the type names, or
1884 // Check whether this is an abstract type entry.
1886 // want full type names in the return.
1904 ServiceType type = new ServiceType(keyType);
1909 ret.addElement(type.toString());
1915 String na = type.getNamingAuthority();
1917 if (type.isNADefault() && isIANA) { // check for IANA..
1918 ret.addElement(type.toString());
1921 ret.addElement(type.toString());
1938 * returned service URLs will match the service type, scope, query,
1944 * @param serviceType The service type name.
1986 // Check whether there are any registrations for this type/scope/
2010 // If no record for this combo of service type and
2105 // Check whether there are any registrations for this scope/type
2210 * of the service type. If there are no registrations
2213 * @param serviceType The service type name.
2239 // Check whether there are any registrations for this type/scope/
2274 // If no service type and scope, go to next scope.
2385 // If the service type is abstract, then skip it. It will be
2386 // displayed when the concrete type is.
2428 ServiceType type = surl.getServiceType();
2429 String serviceType = type.toString();
2430 String abstractTypeName = type.getAbstractTypeName();
2452 // Add to scope/type/lang table.
2461 // Add a new service type/scope record for this locale.
2470 // If the type is an abstract type, then add
2473 if (type.isAbstractType()) {
2534 // Add a record to the scope/type/language table.
2544 // Make key for scope/type/language table.
2548 // Get record for scope/type/lang.
2585 // If a type table record exists, use it. Otherwise,
2631 // Return a newly initialized attribute type table. It will
2632 // have a hash for each allowed type, with a new BtreeVector
2699 ServiceType type = url.getServiceType();
2738 // Record the deletion in the scope/type table, and
2741 deleteTypeLocale(type.toString(), scope, lang);
2743 // Check for abstract type as well.
2745 if (type.isAbstractType()) {
2746 deleteTypeLocale(type.getAbstractTypeName(), scope, lang);
2761 // Record the deletion in the scope/type table, and
2764 deleteTypeLocale(type.toString(), scope, lang);
2766 // Check for abstract type as well.
2768 if (type.isAbstractType()) {
2769 deleteTypeLocale(type.getAbstractTypeName(),
3036 // a different service type.
3289 // Utilities for dealing with service type/scope locale table.
3292 // Bump up the number of registrations for this service type, scope and
3296 addTypeLocale(String type, String scope, String lang) {
3298 String sstKey = makeScopeTypeKey(scope, type);
3333 // Bump down the number of registrations for this service type, scope,
3336 private void deleteTypeLocale(String type, String scope, String lang) {
3338 String sstKey = makeScopeTypeKey(scope, type);
3350 type,
3361 type,
3380 // type/scope/locale.
3383 makeScopeTypeLangKey(scope, type, lang);
3396 // there are some registrations of this service type in it or that
3403 languageSupported(String type, Vector scopes, String lang) {
3413 String sstKey = makeScopeTypeKey(scope, type);
3460 // Return a key for type and scope.
3462 private String makeScopeTypeKey(String scope, String type) {
3463 return scope + "/" + type;
3467 // Make a hash key consisting of the scope and service type.
3491 // Return the key's service type/NA.
3511 // Return true if the record is for an abstract type.