All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.tools.resources.ExternalContainer
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.ExternalContainer
- public abstract class ExternalContainer
- extends ContainerResource
A Container which manage an external store, outside the space.
-
repository
- Our external repository.
-
transientFlag
- Our transientFlag, is true that container must not be saved.
-
ExternalContainer()
-
-
ExternalContainer(String, File, ResourceContext, boolean)
-
-
acquireChildren()
- acquire children and notify space if we will be saved.
-
createDefaultResource(String)
- Create a default child resource in that container.
-
delete()
- Delete this Resource instance , and remove it from its store.
-
markModified()
- Mark this resource as having been modified.
transientFlag
protected boolean transientFlag
- Our transientFlag, is true that container must not be saved.
repository
protected File repository
- Our external repository.
ExternalContainer
public ExternalContainer(String id,
File repository,
ResourceContext context,
boolean transientFlag)
- Parameters:
- id - The identifier.
- repository - The external repository.
- context - The default context.
- transientFlag - The transient flag.
ExternalContainer
public ExternalContainer()
createDefaultResource
public ResourceReference createDefaultResource(String name)
- Create a default child resource in that container.
- Overrides:
- createDefaultResource in class AbstractContainer
markModified
public void markModified()
- Mark this resource as having been modified.
- Overrides:
- markModified in class FramedResource
acquireChildren
protected synchronized void acquireChildren()
- acquire children and notify space if we will be saved.
- Overrides:
- acquireChildren in class ContainerResource
delete
public synchronized void delete() throws MultipleLockException
- Delete this Resource instance , and remove it from its store.
This method will erase definitely this resource, for ever, by removing
it from its resource store (when doable).
- Overrides:
- delete in class ContainerResource
All Packages Class Hierarchy This Package Previous Next Index