| org.w3c.tools.resources.ContainerResource org.w3c.tools.resources.DirectoryResource org.w3c.jigsaw.resources.DirectoryResource
All known Subclasses: org.w3c.jigsaw.resources.HttpDirectoryResource, org.w3c.jigsaw.resources.WebDAVDirectoryResource, org.w3c.jigsaw.resources.PassDirectory,
Field Summary | |
protected static int | ATTR_NEGOTIABLE Attribute index - Should this directory support content negotiation. |
Method Summary | |
public boolean | getNegotiableFlag() Get the negotiable flag for this directory.
When turned to true, this flag indicates to the
directory resource that it should automatically build negotiated
resources ont op of all existing resources.
You should know, at least, that turning this flag on has some
not so small cost in terms of the size of the index files, and some
not so small costs in CPU time when detecting not found documents. | public boolean | lookup(LookupState ls, LookupResult lr) Lookup the next component of this lookup state in here.
Parameters: ls - The current lookup state. Parameters: lr - The lookup result under construction. exception: ProtocolException - If an error occurs. | public synchronized void | updateNegotiableResource(String name) Update a negotiable resource. |
ATTR_NEGOTIABLE | protected static int ATTR_NEGOTIABLE(Code) | | Attribute index - Should this directory support content negotiation.
|
getNegotiableFlag | public boolean getNegotiableFlag()(Code) | | Get the negotiable flag for this directory.
When turned to true, this flag indicates to the
directory resource that it should automatically build negotiated
resources ont op of all existing resources.
You should know, at least, that turning this flag on has some
not so small cost in terms of the size of the index files, and some
not so small costs in CPU time when detecting not found documents.
Otherwise, in all other situations its cost is probably negligible.
A boolean, true if the directory is extensiblefalse otherwise. |
lookup | public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code) | | Lookup the next component of this lookup state in here.
Parameters: ls - The current lookup state. Parameters: lr - The lookup result under construction. exception: ProtocolException - If an error occurs. A boolean, true if lookup has completed, false if it should be continued by the caller. |
updateNegotiableResource | public synchronized void updateNegotiableResource(String name)(Code) | | Update a negotiable resource.
Given the name of a resource that exists, create or update the
attributes of a resource that allows to negotiate its content.
I hate this part here: it has nothing to do within the directory
resource itself, and the indexer shouldn't know that much about
directory resource, so I am stuck.
Parameters: name - The name of the newly created resource. |
|
|