org.w3c.jigsaw.resources
Class PassDirectory

java.lang.Object
  |
  +--org.w3c.tools.resources.AttributeHolder
        |
        +--org.w3c.tools.resources.Resource
              |
              +--org.w3c.tools.resources.FramedResource
                    |
                    +--org.w3c.tools.resources.AbstractContainer
                          |
                          +--org.w3c.tools.resources.ContainerResource
                                |
                                +--org.w3c.tools.resources.DirectoryResource
                                      |
                                      +--org.w3c.jigsaw.resources.DirectoryResource
                                            |
                                            +--org.w3c.jigsaw.resources.PassDirectory
Direct Known Subclasses:
CvsRootDirectory, CvsRootPassDirectory, HttpPassDirectory

public class PassDirectory
extends DirectoryResource


Field Summary
protected static int ATTR_PASSTARGET
          Attribute index - The target physicall directory of this resource.
 
Fields inherited from class org.w3c.jigsaw.resources.DirectoryResource
ATTR_NEGOTIABLE
 
Fields inherited from class org.w3c.tools.resources.DirectoryResource
ATTR_DIRECTORY, ATTR_DIRSTAMP, ATTR_EXTENSIBLE, ATTR_INDEXER
 
Fields inherited from class org.w3c.tools.resources.ContainerResource
acquired, ATTR_KEY
 
Fields inherited from class org.w3c.tools.resources.FramedResource
ATTR_OID, attrListener, debugEvent, event_disabled, framesRef, structListener
 
Fields inherited from class org.w3c.tools.resources.Resource
ATTR_CONTEXT, ATTR_HELP_URL, ATTR_IDENTIFIER, ATTR_LAST_MODIFIED, ATTR_PARENT, ATTR_RESOURCE_FRAMES, ATTR_STORE_ENTRY, ATTR_URL
 
Fields inherited from class org.w3c.tools.resources.AttributeHolder
attributes, slowpickle, values
 
Constructor Summary
PassDirectory()
           
 
Method Summary
 java.io.File getDirectory()
          The getDirectory method now returns the pass-directory.
 void initialize(java.lang.Object[] values)
          Make the directory attribute default to the target location.
 void setValue(int idx, java.lang.Object value)
          Catch side-effects on pass-target, to absolutize it.
 
Methods inherited from class org.w3c.jigsaw.resources.DirectoryResource
getNegotiableFlag, index, lookup, updateNegotiableResource
 
Methods inherited from class org.w3c.tools.resources.DirectoryResource
createDefaultResource, createDefaultResource, createDirectoryResource, createResource, createResource, delete, enumerateAllResourceIdentifiers, enumerateResourceIdentifiers, getDirStamp, getExtensibleFlag, getIndexedName, getIndexer, lookup, reindex, resourceRemoved, updateDefaultChildAttributes, verify
 
Methods inherited from class org.w3c.tools.resources.ContainerResource
acquireChildren, addResource, delete, deleteChildren, getChildrenSpaceEntry, getClone, getKey, getMatchingCharsCount, getSpaceEntry, internalLookup, notifyUnload, registerResource, replace, resourceCreated, resourceModified
 
Methods inherited from class org.w3c.tools.resources.AbstractContainer
attributeChanged, enumerateResourceIdentifiers, resourceUnloaded
 
Methods inherited from class org.w3c.tools.resources.FramedResource
addAttributeChangedListener, addStructureChangedListener, collectFramesReference, disableEvent, displayEvent, enableEvent, eventDisabled, fireAttributeChangeEvent, fireStructureChangedEvent, fireStructureChangedEvent, frameAdded, frameModified, frameRemoved, getFrame, getFrame, getFrameReference, getFrameReference, getFramesReference, getOid, markModified, perform, performFrames, postAttributeChangeEvent, postEvent, postStructureChangedEvent, postStructureChangedEvent, processEvent, registerFrame, registerFrameIfNone, removeAttributeChangedListener, removeStructureChangedListener, unregisterFrame
 
Methods inherited from class org.w3c.tools.resources.Resource
acceptUnload, checkMultipleLock, collectFrames, getContext, getFrame, getFrames, getHelpURL, getHelpURL, getIdentifier, getLastModified, getParent, getResourceReference, getServer, getSpace, getStoreEntry, getURLPath, getValue, getValue, isInitialized, setContext, setContext, setValue, updateAttributes
 
Methods inherited from class org.w3c.tools.resources.AttributeHolder
definesAttribute, definesAttribute, getAttributes, getBoolean, getChar, getClone, getClone, getDouble, getFloat, getInt, getLong, getString, getValue, initialize, lookupAttribute, pickle, print, setBoolean, setChar, setDouble, setFloat, setInt, setLong, setString, setValue, unpickle, unpickle, unpickle, unpickleInstance, unpickleInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_PASSTARGET

protected static int ATTR_PASSTARGET
Attribute index - The target physicall directory of this resource.
Constructor Detail

PassDirectory

public PassDirectory()
Method Detail

setValue

public void setValue(int idx,
                     java.lang.Object value)
Catch side-effects on pass-target, to absolutize it.
Parameters:
idx - The attribute to set.
value - The new value.
Overrides:
setValue in class org.w3c.tools.resources.DirectoryResource

getDirectory

public java.io.File getDirectory()
The getDirectory method now returns the pass-directory.
Returns:
The pass target location.
Overrides:
getDirectory in class org.w3c.tools.resources.DirectoryResource

initialize

public void initialize(java.lang.Object[] values)
Make the directory attribute default to the target location. This is required for classes that rely on the directory attribute to compute their own attributes.
Parameters:
values - The values we should initialized from.
Overrides:
initialize in class org.w3c.tools.resources.DirectoryResource