@ProviderFor(value=org.sbml.jsbml.xml.parsers.ReadingParser.class) public class DistribParser extends AbstractReaderWriter implements PackageParser
http://www.sbml.org/sbml/level3/version1/distrib/version1. This parser is
able to read and write elements of the distrib package (extends
AbstractReaderWriter).| Constructor and Description |
|---|
DistribParser() |
| Modifier and Type | Method and Description |
|---|---|
ASTNodePlugin |
createPluginFor(ASTNode astNode) |
SBasePlugin |
createPluginFor(SBase sbase) |
List<Object> |
getListOfSBMLElementsToWrite(Object sbase) |
String |
getNamespaceFor(int level,
int version,
int packageVersion) |
List<String> |
getNamespaces() |
String |
getNamespaceURI() |
String |
getPackageName() |
List<String> |
getPackageNamespaces() |
String |
getShortLabel() |
boolean |
isRequired() |
static void |
main(String[] args)
Tests this class
|
boolean |
processAttribute(String elementName,
String attributeName,
String value,
String uri,
String prefix,
boolean isLastAttribute,
Object contextObject) |
Object |
processStartElement(String elementName,
String uri,
String prefix,
boolean hasAttributes,
boolean hasNamespaces,
Object contextObject) |
void |
writeElement(SBMLObjectForXML xmlObject,
Object sbmlElementToWrite) |
createListOfChild, processCharactersOf, processEndDocument, processEndElement, processNamespace, processUnknownAttribute, processUnknownElement, storeElementsOrder, writeAttributes, writeCharacters, writeNamespacespublic String getNamespaceURI()
getNamespaceURI in class AbstractReaderWriterpublic String getShortLabel()
getShortLabel in class AbstractReaderWriterpublic List<Object> getListOfSBMLElementsToWrite(Object sbase)
getListOfSBMLElementsToWrite in interface WritingParsergetListOfSBMLElementsToWrite in class AbstractReaderWriterpublic boolean processAttribute(String elementName, String attributeName, String value, String uri, String prefix, boolean isLastAttribute, Object contextObject)
processAttribute in interface ReadingParserprocessAttribute in class AbstractReaderWriterpublic Object processStartElement(String elementName, String uri, String prefix, boolean hasAttributes, boolean hasNamespaces, Object contextObject)
processStartElement in interface ReadingParserprocessStartElement in class AbstractReaderWriterpublic void writeElement(SBMLObjectForXML xmlObject, Object sbmlElementToWrite)
writeElement in interface WritingParserwriteElement in class AbstractReaderWriterpublic static void main(String[] args) throws SBMLException
args - SBMLExceptionpublic String getNamespaceFor(int level, int version, int packageVersion)
getNamespaceFor in interface PackageParserpublic List<String> getNamespaces()
getNamespaces in interface ReadingParsergetNamespaces in interface WritingParserpublic List<String> getPackageNamespaces()
getPackageNamespaces in interface PackageParserpublic String getPackageName()
getPackageName in interface PackageParserpublic boolean isRequired()
isRequired in interface PackageParserpublic SBasePlugin createPluginFor(SBase sbase)
createPluginFor in interface PackageParserpublic ASTNodePlugin createPluginFor(ASTNode astNode)
createPluginFor in interface PackageParserCopyright © 2009–2016. All rights reserved.