org.pentaho.reporting.libraries.repository.zipwriter

Class ZipContentLocation

public class ZipContentLocation extends Object implements ContentLocation

Creation-Date: 01.12.2006, 21:13:24

Author: Thomas Morgner

Constructor Summary
ZipContentLocation(ZipRepository repository, ContentLocation parent, String name)
Method Summary
ContentItemcreateItem(String name)
Creates a new data item in the current location.
ContentLocationcreateLocation(String name)
booleandelete()
booleanexists(String name)
ObjectgetAttribute(String domain, String key)
ObjectgetContentId()
ContentEntitygetEntry(String name)
StringgetName()
ContentLocationgetParent()
RepositorygetRepository()
ContentEntity[]listContents()
booleansetAttribute(String domain, String key, Object value)

Constructor Detail

ZipContentLocation

public ZipContentLocation(ZipRepository repository, ContentLocation parent, String name)

Method Detail

createItem

public ContentItem createItem(String name)
Creates a new data item in the current location. This method must never return null.

Parameters: name

Returns:

Throws: org.pentaho.reporting.libraries.repository.ContentCreationException if the item could not be created.

createLocation

public ContentLocation createLocation(String name)

delete

public boolean delete()

exists

public boolean exists(String name)

getAttribute

public Object getAttribute(String domain, String key)

getContentId

public Object getContentId()

getEntry

public ContentEntity getEntry(String name)

getName

public String getName()

getParent

public ContentLocation getParent()

getRepository

public Repository getRepository()

listContents

public ContentEntity[] listContents()

setAttribute

public boolean setAttribute(String domain, String key, Object value)