Show / Hide Table of Contents

    Class Locator2

    SAX2 extension helper for holding additional Entity information, implementing the Locator2 interface.

    Inheritance
    System.Object
    Locator
    Locator2
    Implements
    ILocator2
    ILocator
    Inherited Members
    Locator.PublicId
    Locator.SystemId
    Locator.LineNumber
    Locator.ColumnNumber
    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

    | Improve this Doc View Source

    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()
    | Improve this Doc View Source

    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.

    Properties

    | Improve this Doc View Source

    Encoding

    Gets the current value of the encoding property.

    Declaration
    public Encoding Encoding { get; set; }
    Property Value
    Type Description
    Encoding
    | Improve this Doc View Source

    XMLVersion

    Gets the current value of the version property.

    Declaration
    public string XMLVersion { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    ILocator2
    ILocator
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)