예제 #1
0
 /// <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
 /// <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());
 }