org.sbml.jsbml.xml.parsers
public interface WritingParser
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getListOfSBMLElementsToWrite(java.lang.Object objectToWrite)
Returns the list of children of the
objectToWrite . |
java.util.List<java.lang.String> |
getNamespaces()
Returns a
List of all the namespaces that this parser is handling |
void |
writeAttributes(SBMLObjectForXML xmlObject,
java.lang.Object sbmlElementToWrite)
Adds the XML attributes of the
sbmlElementToWrite to the attributes
HashMap of the xmlObject . |
void |
writeCharacters(SBMLObjectForXML xmlObject,
java.lang.Object sbmlElementToWrite)
Sets the characters of xmlObject depending on the sbml element to write.
|
void |
writeElement(SBMLObjectForXML xmlObject,
java.lang.Object sbmlElementToWrite)
Sets the name of xmlObject (if it is not set) to the element name of
sbmlElementToWrite.
|
void |
writeNamespaces(SBMLObjectForXML xmlObject,
java.lang.Object sbmlElementToWrite)
Sets the namespace of xmlObject (if it is not set) to the namespace of
sbmlElementToWrite.
|
java.util.List<java.lang.Object> getListOfSBMLElementsToWrite(java.lang.Object objectToWrite)
objectToWrite
.void writeAttributes(SBMLObjectForXML xmlObject, java.lang.Object sbmlElementToWrite)
sbmlElementToWrite
to the attributes
HashMap of the xmlObject
.xmlObject
- contains the XML information about sbmlElement.sbmlElementToWrite
- the SBase
component to writevoid writeCharacters(SBMLObjectForXML xmlObject, java.lang.Object sbmlElementToWrite)
xmlObject
- contains the XML information about sbmlElement.sbmlElementToWrite
- the SBase
component to writevoid writeElement(SBMLObjectForXML xmlObject, java.lang.Object sbmlElementToWrite)
xmlObject
- contains the XML information about sbmlElement.sbmlElementToWrite
- the SBase
component to writevoid writeNamespaces(SBMLObjectForXML xmlObject, java.lang.Object sbmlElementToWrite)
xmlObject
- contains the XML information about sbmlElement.sbmlElementToWrite
- the SBase
component to writejava.util.List<java.lang.String> getNamespaces()
List
of all the namespaces that this parser is handlingList
of all the namespaces that this parser is handling