public class FlatFileSetDOM extends RepositoryStorageDOM implements FlatFileSetStorage
document, dostylesheets, storageRoot, templateDOM
nickname, reposListeners, transferAgent
Constructor and Description |
---|
FlatFileSetDOM() |
Modifier and Type | Method and Description |
---|---|
void |
addAllFlatFiles(java.util.Collection s)
Appends all of the FlatFileStorage 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 |
addAllFlatFiles(int index,
java.util.Collection s)
Inserts the specified FlatFileStorage nickname to the end of this list.
|
void |
addFlatFile(FlatFileDOM dom) |
void |
addFlatFile(int index,
FlatFileDOM dom) |
void |
addFlatFile(int k,
java.lang.String storagenickname)
Inserts the specified FlatFileStorage nickname to the end of this list.
|
void |
addFlatFile(java.lang.String storagenickname)
Appends the specified FlatFileStorage nickname to the end of this list.
|
void |
clearFlatFiles() |
boolean |
containsAllFlatFiles(java.util.Collection nicknames) |
boolean |
containsFlatFile(java.lang.String nickname) |
int |
fileSetSize() |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.util.Vector |
getFlatFileNames() |
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 |
indexOfFlatFile(java.lang.String nickname) |
void |
removeAllFlatFiles(java.util.Collection s) |
void |
removeFlatFile(int k) |
void |
removeFlatFile(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 FlatFileSetStorage
public void setSortProtocol(java.lang.String proto)
setSortProtocol
in interface FlatFileSetStorage
public java.util.Vector getFlatFileNames()
getFlatFileNames
in interface FlatFileSetStorage
public void clearFlatFiles()
clearFlatFiles
in interface FlatFileSetStorage
public boolean containsFlatFile(java.lang.String nickname)
containsFlatFile
in interface FlatFileSetStorage
public int fileSetSize()
fileSetSize
in interface FlatFileSetStorage
public boolean containsAllFlatFiles(java.util.Collection nicknames)
containsAllFlatFiles
in interface FlatFileSetStorage
public void removeFlatFile(java.lang.String nickname)
removeFlatFile
in interface FlatFileSetStorage
public void removeAllFlatFiles(java.util.Collection s)
removeAllFlatFiles
in interface FlatFileSetStorage
public int indexOfFlatFile(java.lang.String nickname)
indexOfFlatFile
in interface FlatFileSetStorage
public void addFlatFile(int index, FlatFileDOM dom)
public void addFlatFile(FlatFileDOM dom)
public void addFlatFile(java.lang.String storagenickname)
addFlatFile
in interface FlatFileSetStorage
public void addFlatFile(int k, java.lang.String storagenickname)
FlatFileSetStorage
addFlatFile
in interface FlatFileSetStorage
public void addAllFlatFiles(int index, java.util.Collection s)
FlatFileSetStorage
addAllFlatFiles
in interface FlatFileSetStorage
public void addAllFlatFiles(java.util.Collection s)
FlatFileSetStorage
addAllFlatFiles
in interface FlatFileSetStorage
public void removeFlatFile(int k)
removeFlatFile
in interface FlatFileSetStorage
Copyright © 2011, 2013. Daniel P. Dougherty