XmlScanner Class |
Scans an XML document and returns significant segments, one by one. Segments are (returned properties within parentheses):
Remember to call the
close
Namespace: Apptus.Util.Xml
public class XmlScanner
The XmlScanner type exposes the following members.
Name | Description | |
---|---|---|
![]() | XmlScanner(Stream) |
Creates an XML scanner that scans the supplied input stream, positions the scanner on the first significant segment.
|
![]() | XmlScanner(TextReader) |
Creates an XML scanner that scans the supplied reader, positions the scanner on the first significant segment.
|
Name | Description | |
---|---|---|
![]() | Attribute |
Returns an Attribute holding the name and value of the
current attribute, if such exists. Otherwise returns null.
|
![]() | Characters |
If the current segment is a characters segment, then returns the
entire text as a string and moves to the next segment.
Otherwise, returns an empty string.
|
![]() | EndTag |
If the current segment is an end tag with the given name, then moves to the next segment.
Otherwise, throws an exception.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | StartTag |
If the current segment is a start tag, then returns the name of the tag and moves to the next segment. Otherwise, returns null.
|
![]() | ToString | (Inherited from Object.) |