Generated by
JDiff

Class org.sbml.jsbml.Annotation

Removed Constructors
Annotation(Map<String, String>) Creates an Annotation instance from a given Map of annotations.
 

Changed Constructors
Annotation(String) Change in exceptions thrown from no exceptions to javax.xml.stream.XMLStreamException.
Creates an Annotation instance from a String containing non RDF annotation.
Annotation(String, List<CVTerm>) Change in exceptions thrown from no exceptions to javax.xml.stream.XMLStreamException.
Creates an Annotation instance from a String containing non RDF annotation and a list of CVTerm.
 

Removed Methods
void addAnnotationNamespace(String, String, String) Adds a namespace to the map annotationNamespace of this object.
void addExtension(String, Annotation) Adds an Annotation extension object to the extensions map of this object.
void addRDFAnnotationNamespace(String, String, String) Adds a name space to the rdfAnnotationNamespaces Map of this object.
(Map<String, String>getAnnotationNamespaces() Returns the annotationNamespace map of this object.
Annotation getExtension(String) Returns the Annotation extension object matching 'namespace'.
Set<String> getNamespaces() Returns the list of all the namespaces of all the packages which extend this object.
(Map<String, String>getRDFAnnotationNamespaces() Returns the rdfAnnotationNamespaces Map of this object.
void insertNoRDFAnnotation(String, int) Inserts 'annotation' to the non RDF annotation StringBuilder at position 'offset'.
void setAnnotationAttributes(NamedNodeMap) Sets the annotationNamespaces.
void setAnnotationNamespaces(Map<String, String>) Sets the annotationNamespaces.
void setRdfAnnotationNamespaces(Map<String, String>) Sets the rdfAnnotationNamespace map to 'rdfAnnotationNamespaces'.
 

Added Methods
void addDeclaredNamespace(String, String) Adds an additional namespace to the set of declared namespaces of this SBase.
int getCVTermCount() Gives the number of CVTerms in this Annotation.
XMLNamespaces getDeclaredNamespaces() @return
XMLNode getFullAnnotation() @return
String getFullAnnotationString() @return
String getNonRDFannotationAsString() Returns the String containing annotations other than RDF annotation.
boolean removeCVTerm(CVTerm) Removes the given CVTerm.
CVTerm removeCVTerm(int) Removes the CVTerm at the given index.
void setNonRDFAnnotation(XMLNode) Sets the value of the non RDF annotations
 

Changed Methods
void appendNoRDFAnnotation(String) Change in exceptions thrown from no exceptions to javax.xml.stream.XMLStreamException.
Appends some 'annotation' to the non RDF annotation XMLNode of this object.
XMLNode getAnnotationBuilder() Change in return type from StringBuilder to XMLNode.
Now deprecated.
Returns the XMLNode representing non RDF annotations.
XMLNode getNonRDFannotation() Change in return type from String to XMLNode.
Returns the XMLNode containing annotations other than the official RDF annotation, as defined in the SBML specifications.
void setNonRDFAnnotation(String) Change in exceptions thrown from no exceptions to javax.xml.stream.XMLStreamException.
Sets the value of the non RDF annotations