TXMLInputSource class
Represents the input source for XML content.
Declaration
TXMLInputSource = class(TObject)Inheritance
- TXMLInputSource
- TObject
Description
TXMLInputSource is a class used to represent an input source with
XML content. TXMLInputSource is based on the DOM InputSource interface from
DOM Level 3. It is not a fully compliant implementation of the interface. It
does not implement separate byteStream and characterStream properties; the
Stream and StringData properties are provided instead. In addition, it does
not implement the Encoding property. All values in are expected to use the
UTF-8 encoding.
Use the overloaded constructors to create an input source with either a string or a stream as the storage for the XML content.
A TXMLInputSource instance is passed as an argument to the TDOMParser.Parse and TDOMParser.ParseWithContext methods. It is subsequently passed to the TXMLReader instance that reads XML content from the input source.
See also
Properties
Stream | public | Stream with the XML content for the input source. |
StringData | public | String with the XML content for the input source. |
BaseURI | public | Base URI for content in the XML input source. |
SystemID | public | System Identifier for content in the XML input source. |
PublicID | public | Public Identifier for content in the XML input source. |
Methods
Create | public | Constructor for the class instance. |
Inherited
From TObject (41)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
