public class DblMatrixDOM extends RepositoryStorageDOM implements DblMatrixStorage
document, dostylesheets, storageRoot, templateDOMnickname, reposListeners, transferAgent| Constructor and Description |
|---|
DblMatrixDOM() |
| Modifier and Type | Method and Description |
|---|---|
protected org.w3c.dom.Element |
addNewEntry() |
void |
clearAll()
Removes all entries and resets to an empty matrix.
|
protected void |
clearContents() |
protected void |
clearMatrixSize() |
DblMatrix |
copyAsDblMatrix()
Copy the contents of this repository storage into a new DblMatrix.
|
void |
copyFromDblMatrix(DblMatrix x) |
java.lang.Object |
get(int element)
Gets the specified element.
|
protected org.w3c.dom.Element |
getContentsRoot() |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.lang.Class |
getDOMStorageClass()
Returns a DOM storage variant of this storage instance.
|
int[] |
getMatrixSize() |
java.lang.String |
getRootElementName() |
protected org.w3c.dom.Element |
getSizeRoot() |
java.lang.Class |
getStorageTransferAgentClass()
This method should be overridden by subclasses wanting to extend the transfer method.
|
protected java.lang.String |
getStylesheetRef()
Returns the hyper-reference to the style sheet to be used in formating
the XML translation of this DOM.
|
void |
set(java.lang.Object N,
int element)
Sets the specified element.
|
void |
setMatrixSize(int[] siz)
Calls clearAll first then sets size and preallocates to zero.
|
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, 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.String getRootElementName()
getRootElementName in class RepositoryStorageDOMprotected java.lang.String getStylesheetRef()
RepositoryStorageDOMsetProcessingInstructions method.getStylesheetRef in class RepositoryStorageDOMRepositoryStorageDOM.setProcessingInstructions()protected void specifyStorage(org.w3c.dom.Document doc,
org.w3c.dom.Element root)
specifyStorage in class RepositoryStorageDOMpublic java.lang.Class getStorageTransferAgentClass()
AbstractRepositoryStoragegetStorageTransferAgentClass in class AbstractRepositoryStoragepublic java.lang.Class getDOMStorageClass()
AbstractRepositoryStoragegetDOMStorageClass in interface DOMStorablegetDOMStorageClass in class RepositoryStorageDOMprotected org.w3c.dom.Element getSizeRoot()
protected org.w3c.dom.Element addNewEntry()
public int[] getMatrixSize()
getMatrixSize in interface DblMatrixStoragepublic void setMatrixSize(int[] siz)
DblMatrixStoragesetMatrixSize in interface DblMatrixStorageprotected void clearMatrixSize()
protected org.w3c.dom.Element getContentsRoot()
public void set(java.lang.Object N,
int element)
DblMatrixStorageset in interface DblMatrixStoragepublic java.lang.Object get(int element)
DblMatrixStorageget in interface DblMatrixStoragepublic void clearAll()
DblMatrixStorageclearAll in interface DblMatrixStorageprotected void clearContents()
public void copyFromDblMatrix(DblMatrix x)
copyFromDblMatrix in interface DblMatrixStoragepublic DblMatrix copyAsDblMatrix()
copyAsDblMatrix in interface DblMatrixStorageCopyright © 2011, 2013. Daniel P. Dougherty