org.inria.ns.reflex.processor.catalog
Class URIKey

java.lang.Object
  extended by org.inria.ns.reflex.util.Key
      extended by org.inria.ns.reflex.processor.catalog.CatalogKey
          extended by org.inria.ns.reflex.processor.catalog.URIKey

public class URIKey
extends CatalogKey

Used to resolve URI references.

Author:
Philippe Poulard

Field Summary
 
Fields inherited from class org.inria.ns.reflex.util.Key
hash, name, type
 
Constructor Summary
URIKey(XFile uri, QName selector)
          Create a new URI key.
 
Method Summary
 void exportTo(DataSet dataSet)
          Create a set of properties in a target data set.
 QName getSelector()
          Return the selector of this key.
 
Methods inherited from class org.inria.ns.reflex.util.Key
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URIKey

public URIKey(XFile uri,
              QName selector)
Create a new URI key.

Parameters:
uri - The non-null URI.
selector - The selector, that may be null.
Method Detail

exportTo

public void exportTo(DataSet dataSet)
Create a set of properties in a target data set.
NameValue
$cat:uriThis URI.
$cat:selectorThis selector.

Specified by:
exportTo in class CatalogKey
Parameters:
dataSet - The target data set.
See Also:
CatalogKey.exportTo(org.inria.ns.reflex.processor.DataSet)

getSelector

public QName getSelector()
Return the selector of this key.

Specified by:
getSelector in class CatalogKey
Parameters:
The - selector, that can be null.
Returns:
The selector.
See Also:
CatalogKey.getSelector()