Copyright (C) 2022-2023, AdaCore
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
procedure Bind
(Self : in out XML_Template_Processor'Class;
Path : VSS.String_Vectors.Virtual_String_Vector;
Proxy : not null VSS.XML.Templates.Proxies.Proxy_Access)
Bind given proxy to given path. Ownership of the proxy object is moved to template processor, thus application must not use it anymore. Proxy will be released by the templates processor.
Use of the subprogram is discouraged. It is recommended to define custom composite proxy and bind it to the segment of the root namespace.
procedure Bind
(Self : in out XML_Template_Processor'Class;
Segment : VSS.Strings.Virtual_String;
Proxy : not null VSS.XML.Templates.Proxies.Proxy_Access)
Bind given proxy to given segment of the root namespace. Ownership of the proxy object is moved to template processor, thus application must not use it anymore. Proxy will be released by the templates processor.
procedure Set_Content_Handler
(Self : in out XML_Template_Processor;
Handler : VSS.XML.Content_Handlers.SAX_Content_Handler_Access)
procedure Set_Error_Handler
(Self : in out XML_Template_Processor;
Handler : VSS.XML.Error_Handlers.SAX_Error_Handler_Access)
type XML_Template_Processor is
limited new VSS.XML.Content_Handlers.SAX_Content_Handler
and VSS.XML.Lexical_Handlers.SAX_Lexical_Handler with private;