XmlNamespace

/**
* @brief An xml namespace.
*/

Inherit from XmlNamespaceDO

Primary key: id: int

schema XmlNamespace extends XmlNamespaceDO {
  @primary id: int,
  prefix_name: string,
  url: string,
  location_id: int
}

XmlNamespace::getXmlElement

/**
* @brief gets the belonged xml element of the element.
* @return XmlElement 
*/
pub fn getXmlElement(self: XmlNamespace) -> XmlElement;

XmlNamespace::__all__

Data constraint method.

pub fn __all__(db: XmlDB) -> *XmlNamespace;

XmlNamespace::getName

/**
* @brief gets the name for the element.
* @return string
*/
pub fn getName(self: XmlNamespace) -> string;

XmlNamespace::getPrefixName

/**
* @brief gets the prefix name of the element.
* @return string 
*/
pub fn getPrefixName(self: XmlNamespace) -> string;

XmlNamespace::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: XmlNamespace) -> Location;

XmlNamespace::getUrl

/**
* @brief gets the url of the element.
* @return string 
*/
pub fn getUrl(self: XmlNamespace) -> string;

XmlNamespace::getLocationId

/**
* @brief gets the location id of this element.
* @return int
*/
pub fn getLocationId(self: XmlNamespace) -> int;