C# Class SIL.FieldWorks.FDO.DomainServices.DataMigration.ElementBounds

This class stores some bounds of an XML element stored inside a byte array.
Exibir arquivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
ElementBounds ( byte xmlBytes, ElementTags tags ) : System

Constructor for an element to be found anywhere inside the byte array.

ElementBounds ( byte xmlBytes, ElementTags tags, ElementBounds bounds ) : System

Constructor for an element to be found inside another element that was previously located in the byte array.

ElementBounds ( byte xmlBytes, ElementTags tags, int ichMin, int ichLim ) : System
GetAttributeValue ( byte attrWithEquals ) : string

Get the value of the indicated attribute, or return null.

Reset ( int ichMin, int ichLim ) : void

Private Methods

Method Description
SetLength ( int endtagLength ) : void

Method Details

ElementBounds() public method

Constructor for an element to be found anywhere inside the byte array.
public ElementBounds ( byte xmlBytes, ElementTags tags ) : System
xmlBytes byte
tags ElementTags
return System

ElementBounds() public method

Constructor for an element to be found inside another element that was previously located in the byte array.
public ElementBounds ( byte xmlBytes, ElementTags tags, ElementBounds bounds ) : System
xmlBytes byte
tags ElementTags
bounds ElementBounds
return System

ElementBounds() public method

public ElementBounds ( byte xmlBytes, ElementTags tags, int ichMin, int ichLim ) : System
xmlBytes byte
tags ElementTags
ichMin int
ichLim int
return System

GetAttributeValue() public method

Get the value of the indicated attribute, or return null.
public GetAttributeValue ( byte attrWithEquals ) : string
attrWithEquals byte The attribute name with a leading space and a trailing =.
return string

Reset() public method

public Reset ( int ichMin, int ichLim ) : void
ichMin int
ichLim int
return void