Trait abxml::model::TagStart

source ·
pub trait TagStart {
    type Attribute: AttributeTrait;

    fn get_line(&self) -> Result<u32, Error>;
    fn get_field1(&self) -> Result<u32, Error>;
    fn get_namespace_index(&self) -> Result<u32, Error>;
    fn get_element_name_index(&self) -> Result<u32, Error>;
    fn get_field2(&self) -> Result<u32, Error>;
    fn get_attributes_amount(&self) -> Result<u32, Error>;
    fn get_class(&self) -> Result<u32, Error>;
    fn get_attribute(&self, index: u32) -> Result<Self::Attribute, Error>;
}
Expand description

Trait that represents a XML tag start

Required Associated Types

Type of the attributes

Required Methods

Return the ¿line in which the tag appear?

Return the content of the unknown field1

Return the namespace index. If there is no namespace, it will return 0xFFFF_FFFF

Returns the index of the tag name on the string table

Return the content of the unknown field1

Return the amount of attributes this tag contains

Returns the ¿class?

Returns the attribute on the index position or error if it is greater than get_attributes_amount

Implementors