コード例 #1
0
ファイル: SupportClass.cs プロジェクト: snosrap/nhapi
 /// <summary>
 /// Receive an object for locating the origin of events into the XML document
 /// </summary>
 /// <param name="locator">A 'XmlSaxLocator' object that can return the location of any events into the XML document</param>
 public virtual void setDocumentLocator(IXmlSaxLocator locator)
 {
 }
コード例 #2
0
ファイル: SupportClass.cs プロジェクト: snosrap/nhapi
 /// <summary>
 /// This method returns a new instance of 'XmlSaxLocatorImpl'.
 /// Create a persistent copy of the current state of a locator.
 /// </summary>
 /// <param name="locator">The current state of a locator.</param>
 /// <returns>A new 'XmlSaxLocatorImpl' instance.</returns>
 public XmlSaxLocatorImpl(IXmlSaxLocator locator)
 {
     setPublicId(locator.getPublicId());
     setSystemId(locator.getSystemId());
     setLineNumber(locator.getLineNumber());
     setColumnNumber(locator.getColumnNumber());
 }