Constructs a search result using the result's name, its class name,
its bound object, its attributes, and whether the name is relative.
Constructs a search result using the result's name, its class name,
its bound object, its attributes, and whether the name is relative.
Parameters:
-
name - The non-null name of the search item.
-
className - The possibly null class name of the object
bound to
name. If null, the class name of
obj is
returned by
getClassName(). If
obj is also null,
getClassName() will return null.
-
obj - The object bound to name. Can be null.
-
attrs - The attributes that were requested to be returned with
this search item. Cannot be null.
-
isRelative - true if
name
is relative
to the target context of the search (which is named by
the first parameter of the
search()
method);
false if
name
is a URL string.
See Also:
NameClassPair.setClassName(java.lang.String)
,
NameClassPair.getClassName()
,