org.sbml.jsbml.xml.parsers
private static final org.apache.log4j.Logger logger
public java.lang.String getShortLabel()
AbstractReaderWriter
getShortLabel
in class AbstractReaderWriter
public java.lang.String getNamespaceURI()
AbstractReaderWriter
getNamespaceURI
in class AbstractReaderWriter
public java.lang.Object processStartElement(java.lang.String elementName, java.lang.String uri, java.lang.String prefix, boolean hasAttributes, boolean hasNamespaces, java.lang.Object contextObject)
ReadingParser
For example, if the contextObject is an instance of Event
and the
elementName is 'trigger', this method will create a new Trigger
instance
and will set the trigger instance of the 'contextObject' to the new
Trigger
. Then the method will return the new Trigger
instance which is the
new environment.
processStartElement
in interface ReadingParser
processStartElement
in class AbstractReaderWriter
elementName
- the localName of the XML element to processprefix
- the prefix of the XML element to processhasAttributes
- boolean value to know if this XML element has attributes.hasNamespaces
- boolean value to know if this XML element contains namespace
declarations.contextObject
- the object to set or modify depending on the identity of the current
XML element. This object
represents the context of the XML element in the SBMLDocument.public java.util.List<java.lang.String> getNamespaces()
ReadingParser
List
of all the namespaces that this parser is handling.List
of all the namespaces that this parser is handling