iTextSharp.tool.xml.XMLWorker.StartElement C# (CSharp) Method

StartElement() public method

public StartElement ( String tag, String>.IDictionary attr, String ns ) : void
tag String
attr String>.IDictionary
ns String
return void
        public void StartElement(String tag, IDictionary<String, String> attr, String ns)
        {
            Tag t = CreateTag(tag, attr, ns);
            WorkerContextImpl ctx = (WorkerContextImpl)GetLocalWC();
            if (null != ctx.GetCurrentTag()) {
                ctx.GetCurrentTag().AddChild(t);
            }
            ctx.SetCurrentTag(t);
            IPipeline wp = rootpPipe;
            ProcessObject po = new ProcessObject();
            try {
                while (null != (wp = wp.Open(ctx, t, po)))
                    ;
            } catch (PipelineException e) {
                throw new RuntimeWorkerException(e);
            }
        }