public interface ASTNodePlugin extends TreeNodeWithChangeSupport
ASTNode
or ASTNode2
Plugin. When a SBML level 3 is
extending one of the mathML elements with additional attributes or child
elements, a ASTNodePlugin
is created to serve as a place holder for
these new attributes or elements.Modifier and Type | Method and Description |
---|---|
ASTNodePlugin |
clone()
Creates a new instance of
ASTNodePlugin from this ASTNodePlugin . |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getElementNamespace()
Returns the XML namespace (URI) of the package extension of this plugin object.
|
javax.swing.tree.TreeNode |
getExtendedASTNode()
Returns the object that is extended by this plug-in.
|
int |
getLevel()
Returns the SBML level of this plugin object.
|
java.lang.String |
getPackageName()
Returns the package name of this plugin object.
|
int |
getPackageVersion()
Returns the package version of the package extension of this plugin object.
|
SBase |
getParentSBMLObject()
Returns the parent
SBase object to which this plugin object is connected. |
java.lang.String |
getPrefix()
Returns the prefix of the package extension of this plugin object.
|
SBMLDocument |
getSBMLDocument()
Returns the parent
SBMLDocument of this plugin object. |
java.lang.String |
getURI()
Gets the URI to which this element belongs to.
|
int |
getVersion()
Returns the SBML version of this plugin object.
|
int |
hashCode() |
boolean |
isSetExtendedASTNode()
Checks whether an extended TreeNode has been set.
|
boolean |
isSetPackageVersion()
Returns
true if a package version is set, false otherwise. |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
Reads and sets the attribute if it is know from this
SBasePlugin . |
void |
setPackageVersion(int packageVersion)
Sets the package version.
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a
Map containing the XML attributes of this object. |
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
ASTNodePlugin clone()
ASTNodePlugin
from this ASTNodePlugin
.ASTNodePlugin
from this ASTNodePlugin
.boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
java.lang.String getElementNamespace()
getURI()
javax.swing.tree.TreeNode getExtendedASTNode()
int getLevel()
SBase.getLevel()
java.lang.String getPackageName()
int getPackageVersion()
SBase getParentSBMLObject()
SBase
object to which this plugin object is connected.SBase
object to which this plugin object is connected.java.lang.String getPrefix()
SBMLDocument getSBMLDocument()
SBMLDocument
of this plugin object.SBMLDocument
object of this plugin object.java.lang.String getURI()
getElementNamespace()
int getVersion()
SBase.getVersion()
int hashCode()
hashCode
in class java.lang.Object
boolean isSetExtendedASTNode()
boolean isSetPackageVersion()
true
if a package version is set, false
otherwise.true
if a package version is set, false
otherwise.boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
.attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.void setPackageVersion(int packageVersion)
packageVersion
- the packageVersion to setjava.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
Map
containing the XML attributes of this object.Map
containing the XML attributes of this object.