Class Locator2
SAX2 extension helper for holding additional Entity information, implementing the Locator2 interface.
Inherited Members
Namespace: Sax.Ext
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Locator2 : Locator, ILocator2, ILocator
Remarks
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
This is not part of core-only SAX2 distributions.Constructors
Locator2()
Construct a new, empty Locator2 object. This will not normally be useful, since the main purpose of this class is to make a snapshot of an existing Locator.
Declaration
public Locator2()
Remarks
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
This is not part of core-only SAX2 distributions.Locator2(ILocator)
Copy an existing Locator or Locator2 object. If the object implements Locator2, values of the encoding and versionstrings are copied, otherwise they set to null.
Declaration
public Locator2(ILocator locator)
Parameters
Type | Name | Description |
---|---|---|
ILocator | locator | The existing Locator object. |
Remarks
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
This is not part of core-only SAX2 distributions.Properties
Encoding
Gets the current value of the encoding property.
Declaration
public Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
Encoding |
Remarks
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
This is not part of core-only SAX2 distributions.XMLVersion
Gets the current value of the version property.
Declaration
public string XMLVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
This is not part of core-only SAX2 distributions.