Locator2 interface.
This is not part of core-only SAX2 distributions.
| Access | Constructor and Description |
|---|---|
| public | |
| public | Locator2Impl(Locator
The existing Locator object. locator)Copy an existing Locator or Locator2 object. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getEncoding()
Implements org. Returns the current value of the encoding property. |
| public String | getXMLVersion()
Implements org. Returns the current value of the version property. |
| public void | setEncoding(String
the new "encoding" value encoding)Assigns the current value of the encoding property. |
| public void | setXMLVersion(String
the new "version" value version)Assigns the current value of the version property. |
| encoding | back to summary |
|---|---|
| private String encoding | |
| version | back to summary |
|---|---|
| private String version | |
| Locator2Impl | back to summary |
|---|---|
| public Locator2Impl() Construct a new, empty Locator2Impl object. This will not normally be useful, since the main purpose of this class is to make a snapshot of an existing Locator. | |
| Locator2Impl | back to summary |
|---|---|
| public Locator2Impl(Locator locator) 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.
| |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Implements org. Returns the current value of the encoding property.
| |
| getXMLVersion | back to summary |
|---|---|
| public String getXMLVersion() Implements org. Returns the current value of the version property.
| |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(String encoding) Assigns the current value of the encoding property.
| |
| setXMLVersion | back to summary |
|---|---|
| public void setXMLVersion(String version) Assigns the current value of the version property.
| |