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
*/
- Parameter
self
:XmlNamespace
- Return
XmlElement
pub fn getXmlElement(self: XmlNamespace) -> XmlElement;
XmlNamespace::__all__
Data constraint method.
- Parameter
db
:XmlDB
- Return
*XmlNamespace
pub fn __all__(db: XmlDB) -> *XmlNamespace;
XmlNamespace::getName
/**
* @brief gets the name for the element.
* @return string
*/
- Parameter
self
:XmlNamespace
- Return
string
pub fn getName(self: XmlNamespace) -> string;
XmlNamespace::getPrefixName
/**
* @brief gets the prefix name of the element.
* @return string
*/
- Parameter
self
:XmlNamespace
- Return
string
pub fn getPrefixName(self: XmlNamespace) -> string;
XmlNamespace::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:XmlNamespace
- Return
Location
pub fn getLocation(self: XmlNamespace) -> Location;
XmlNamespace::getUrl
/**
* @brief gets the url of the element.
* @return string
*/
- Parameter
self
:XmlNamespace
- Return
string
pub fn getUrl(self: XmlNamespace) -> string;
XmlNamespace::getLocationId
/**
* @brief gets the location id of this element.
* @return int
*/
- Parameter
self
:XmlNamespace
- Return
int
pub fn getLocationId(self: XmlNamespace) -> int;