Struct abxml::chunks::XmlTagStartWrapper
[−]
[src]
pub struct XmlTagStartWrapper<'a> { /* fields omitted */ }
Contains a reference to the whole buffer and the chunk header of a TagStart
Methods
impl<'a> XmlTagStartWrapper<'a>
[src]
fn new(raw_data: &'a [u8]) -> Self
Creates a new XmlTagStartWrapper
fn to_buffer(&self) -> Result<XmlTagStartBuf>
It converts the wrapper into a XmlTagStartBuf
which can be later manipulated
Trait Implementations
impl<'a> TagStart for XmlTagStartWrapper<'a>
[src]
type Attribute = AttributeWrapper<'a>
Type of the attributes
fn get_line(&self) -> Result<u32>
Return the ¿line in which the tag appear?
fn get_field1(&self) -> Result<u32>
Return the content of the unknown field1
fn get_namespace_index(&self) -> Result<u32>
Return the namespace index. If there is no namespace, it will return 0xFFFFFFFF
fn get_element_name_index(&self) -> Result<u32>
Returns the index of the tag name on the string table
fn get_field2(&self) -> Result<u32>
Return the content of the unknown field1
fn get_attributes_amount(&self) -> Result<u32>
Return the amount of attributes this tag contains
fn get_class(&self) -> Result<u32>
Returns the ¿class?
fn get_attribute(&self, index: u32) -> Result<Self::Attribute>
Returns the attribute on the index
position or error if it is greater than get_attributes_amount
Read more