public class CanonicalSetDOM extends RepositoryStorageDOM implements CanonicalSetStorage
| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Element |
setRoot |
document, dostylesheets, storageRoot, templateDOMnickname, reposListeners, transferAgent| Constructor and Description |
|---|
CanonicalSetDOM() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElementsToSet(int k,
java.util.Vector elems) |
void |
addElementToSet(int j,
RepositoryElement elem) |
boolean |
addElementToSet(RepositoryElement elem) |
void |
clearSet() |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.lang.Class |
getDOMStorageClass()
Returns a DOM storage variant of this storage instance.
|
RepositoryElement |
getElement(int j) |
java.util.Vector |
getElementsFromSet(int i,
int j)
Return the elements of a trace from index i to index j inclusive.
|
java.lang.String |
getRootElementName() |
java.lang.Class |
getStorageTransferAgentClass()
This method should be overridden by subclasses wanting to extend the transfer method.
|
void |
offer(RepositoryElement elem)
Inserts the specified RepositoryElement at the end of this trace.
|
RepositoryElement |
poll()
Retrieves and removes the first RepositoryElement in this trace, or null if this queue is empty.
|
RepositoryElement |
removeElement(int k) |
RepositoryElement |
setElement(int j,
RepositoryElement elem) |
int |
sizeOfSet() |
protected void |
specifyStorage(org.w3c.dom.Document doc,
org.w3c.dom.Element root) |
createElementByName, getAttributeByElementName, getComment, getCommentElementName, getCreatedBy, getCreatedByAttributeName, getCreatedOn, getCreatedOnAttributeName, getDocument, getEnabled, getEnabledAttributeName, getNickname, getNicknameAttributeName, getStorage, getStorageRoot, getStylesheetRef, getTemplateDOM, getTextNodeByElementName, isValidXML, readXML, setComment, setCreatedBy, setCreatedOn, setEnabled, setNickname, setProcessingInstructions, setTextNodeByElementName, show, show, useStyleSheetInfo, usingStyleSheetInfo, writeTemplateXML, writeXMLaddRepositoryListener, afterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorage, copyStorageCommands, getStorageCalculationsAgentClass, removeRepositoryListener, transferStorage, transferStorageCommandsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRepositoryListener, getComment, getCreatedBy, getCreatedOn, getEnabled, getNickname, removeRepositoryListener, setComment, setCreatedBy, setCreatedOn, setEnabled, setNicknameafterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorage, copyStorageCommands, transferStorage, transferStorageCommandspublic java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass in interface RepositoryStoragegetDefaultGraphicalEditorClass in class RepositoryStorageDOMpublic java.lang.Class getStorageTransferAgentClass()
AbstractRepositoryStoragegetStorageTransferAgentClass in class AbstractRepositoryStoragepublic java.lang.Class getDOMStorageClass()
AbstractRepositoryStoragegetDOMStorageClass in interface DOMStorablegetDOMStorageClass in class RepositoryStorageDOMpublic java.lang.String getRootElementName()
getRootElementName in class RepositoryStorageDOMprotected void specifyStorage(org.w3c.dom.Document doc,
org.w3c.dom.Element root)
specifyStorage in class RepositoryStorageDOMpublic void clearSet()
clearSet in interface CanonicalSetStoragepublic void addElementToSet(int j,
RepositoryElement elem)
addElementToSet in interface CanonicalSetStoragepublic void addElementsToSet(int k,
java.util.Vector elems)
addElementsToSet in interface CanonicalSetStoragepublic boolean addElementToSet(RepositoryElement elem)
addElementToSet in interface CanonicalSetStoragepublic RepositoryElement getElement(int j)
getElement in interface CanonicalSetStoragepublic RepositoryElement removeElement(int k)
removeElement in interface CanonicalSetStoragepublic RepositoryElement setElement(int j, RepositoryElement elem)
setElement in interface CanonicalSetStoragepublic int sizeOfSet()
sizeOfSet in interface CanonicalSetStoragepublic RepositoryElement poll()
poll in interface CanonicalSetStoragepublic void offer(RepositoryElement elem)
offer in interface CanonicalSetStoragepublic java.util.Vector getElementsFromSet(int i,
int j)
getElementsFromSet in interface CanonicalSetStorageCopyright © 2011, 2013. Daniel P. Dougherty