libSBML 5.3.0 Python API

libsbml.XMLTriple Class Reference

List of all members.


Detailed Description

Representation of a qualified XML name.

This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.

A 'triple' in the libSBML XML layer encapsulates the notion of qualified name, meaning an element name or an attribute name with an optional namespace qualifier. An XMLTriple instance carries up to three data items:

XMLTriple objects are the lowest-level data item in the XML layer of libSBML. Other objects such as XMLToken make use of XMLTriple objects.

Public Member Functions

def clone
def getName
def getPrefix
def getPrefixedName
def getURI
def isEmpty

Member Function Documentation

def libsbml.XMLTriple.clone (   self  ) 

Python method signature(s):

clone()    XMLTriple

Creates and returns a deep copy of this XMLTriple set.

Returns:
a (deep) copy of this XMLTriple set.
def libsbml.XMLTriple.getName (   self  ) 

Python method signature(s):

getName()    string

Returns the name portion of this XMLTriple.

Returns:
a string, the name from this XMLTriple.
def libsbml.XMLTriple.getPrefix (   self  ) 

Python method signature(s):

getPrefix()    string

Returns the prefix portion of this XMLTriple.

Returns:
a string, the prefix portion of this XMLTriple.
def libsbml.XMLTriple.getPrefixedName (   self  ) 

Python method signature(s):

getPrefixedName()    string

Returns the prefixed name from this XMLTriple.

Returns:
a string, the prefixed name from this XMLTriple.
def libsbml.XMLTriple.getURI (   self  ) 

Python method signature(s):

getURI()    string

Returns the URI portion of this XMLTriple.

Returns:
URI a string, the prefix portion of this XMLTriple.
def libsbml.XMLTriple.isEmpty (   self  ) 

Python method signature(s):

isEmpty()    bool

Predicate returning true or false depending on whether this XMLTriple is empty.

Returns:
true if this XMLTriple is empty, false otherwise.



HTML documentation generated on Tue Dec 20 01:39:57 2011 using Doxygen 1.6.3.