public class ImageStackDOM extends RepositoryStorageDOM implements ImageStackStorage
document, dostylesheets, storageRoot, templateDOM
nickname, reposListeners, transferAgent
Constructor and Description |
---|
ImageStackDOM() |
Modifier and Type | Method and Description |
---|---|
void |
addAllImageFiles(java.util.Collection s)
Appends all of the ImageFileStorage nicknames in the specified
collection to the end of this list, in the order that they are
returned by the specified collection's iterator (optional operation).
|
void |
addAllImageFiles(int index,
java.util.Collection s)
Inserts the specified ImageFileStorage nickname to the end of this list.
|
void |
addImageFile(ImageFileDOM dom) |
void |
addImageFile(int index,
ImageFileDOM dom) |
void |
addImageFile(int k,
java.lang.String storagenickname)
Inserts the specified ImageFileStorage nickname to the end of this list.
|
void |
addImageFile(java.lang.String storagenickname)
Appends the specified ImageFileStorage nickname to the end of this list.
|
void |
clearImageFiles() |
boolean |
containsAllImageFiles(java.util.Collection nicknames) |
boolean |
containsImageFile(java.lang.String nickname) |
int |
fileSetSize() |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.util.Vector |
getImageFileNames() |
java.lang.String |
getRootElementName() |
java.lang.String |
getSortProtocol() |
java.lang.Class |
getStorageTransferAgentClass()
This method should be overridden by subclasses wanting to extend the transfer method.
|
int |
imageStackSize() |
int |
indexOfImageFile(java.lang.String nickname) |
void |
removeAllImageFiles(java.util.Collection s) |
void |
removeImageFile(int k) |
void |
removeImageFile(java.lang.String nickname) |
void |
setSortProtocol(java.lang.String proto) |
protected void |
specifyStorage(org.w3c.dom.Document doc,
org.w3c.dom.Element ro) |
createElementByName, getAttributeByElementName, getComment, getCommentElementName, getCreatedBy, getCreatedByAttributeName, getCreatedOn, getCreatedOnAttributeName, getDocument, getDOMStorageClass, getEnabled, getEnabledAttributeName, getNickname, getNicknameAttributeName, getStorage, getStorageRoot, getStylesheetRef, getTemplateDOM, getTextNodeByElementName, isValidXML, readXML, setComment, setCreatedBy, setCreatedOn, setEnabled, setNickname, setProcessingInstructions, setTextNodeByElementName, show, show, useStyleSheetInfo, usingStyleSheetInfo, writeTemplateXML, writeXML
addRepositoryListener, afterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorage, copyStorageCommands, getStorageCalculationsAgentClass, removeRepositoryListener, transferStorage, transferStorageCommands
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRepositoryListener, getComment, getCreatedBy, getCreatedOn, getEnabled, getNickname, removeRepositoryListener, setComment, setCreatedBy, setCreatedOn, setEnabled, setNickname
afterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorage, copyStorageCommands, transferStorage, transferStorageCommands
getDOMStorageClass
public java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass
in interface RepositoryStorage
getDefaultGraphicalEditorClass
in class RepositoryStorageDOM
public java.lang.Class getStorageTransferAgentClass()
AbstractRepositoryStorage
getStorageTransferAgentClass
in class AbstractRepositoryStorage
protected void specifyStorage(org.w3c.dom.Document doc, org.w3c.dom.Element ro)
specifyStorage
in class RepositoryStorageDOM
public java.lang.String getRootElementName()
getRootElementName
in class RepositoryStorageDOM
public java.lang.String getSortProtocol()
getSortProtocol
in interface ImageStackStorage
public void setSortProtocol(java.lang.String proto)
setSortProtocol
in interface ImageStackStorage
public java.util.Vector getImageFileNames()
getImageFileNames
in interface ImageStackStorage
public void clearImageFiles()
clearImageFiles
in interface ImageStackStorage
public boolean containsImageFile(java.lang.String nickname)
containsImageFile
in interface ImageStackStorage
public int fileSetSize()
public boolean containsAllImageFiles(java.util.Collection nicknames)
containsAllImageFiles
in interface ImageStackStorage
public void removeImageFile(java.lang.String nickname)
removeImageFile
in interface ImageStackStorage
public void removeAllImageFiles(java.util.Collection s)
removeAllImageFiles
in interface ImageStackStorage
public int indexOfImageFile(java.lang.String nickname)
indexOfImageFile
in interface ImageStackStorage
public void addImageFile(int index, ImageFileDOM dom)
public void addImageFile(ImageFileDOM dom)
public void addImageFile(java.lang.String storagenickname)
addImageFile
in interface ImageStackStorage
public void addImageFile(int k, java.lang.String storagenickname)
ImageStackStorage
addImageFile
in interface ImageStackStorage
public void addAllImageFiles(int index, java.util.Collection s)
ImageStackStorage
addAllImageFiles
in interface ImageStackStorage
public void addAllImageFiles(java.util.Collection s)
ImageStackStorage
addAllImageFiles
in interface ImageStackStorage
public int imageStackSize()
imageStackSize
in interface ImageStackStorage
public void removeImageFile(int k)
removeImageFile
in interface ImageStackStorage
Copyright © 2011, 2013. Daniel P. Dougherty