XmlDtd

/**
* @brief An xml dtd.
*/

Inherit from XmlDtdDO

Primary key: id: int

schema XmlDtd extends XmlDtdDO {
  @primary id: int,
  root: string,
  public_id: string,
  system_id: string,
  location_id: int
}

XmlDtd::getRoot

/**
* @brief gets the root of the element.
* @return string 
*/
  • Parameter self: XmlDtd
  • Return string
pub fn getRoot(self: XmlDtd) -> string;

XmlDtd::__all__

Data constraint method.

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

XmlDtd::getLocation

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

XmlDtd::getPublicId

/**
* @brief gets the public id (which is a string) of the element.
* @return string 
*/
  • Parameter self: XmlDtd
  • Return string
pub fn getPublicId(self: XmlDtd) -> string;

XmlDtd::getLocationId

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

XmlDtd::getSystemId

/**
* @brief gets the system id (which is a string) of the element.
* @return string 
*/
  • Parameter self: XmlDtd
  • Return string
pub fn getSystemId(self: XmlDtd) -> string;