public class Locator2Impl extends LocatorImpl implements Locator2
Locator2
接口。
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
这是不是一部分核心SAX2分布。
Constructor and Description |
---|
Locator2Impl()
构建一个新的、空的locator2impl对象。
|
Locator2Impl(Locator locator)
复制一个现有的定位或locator2对象。
|
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
返回编码属性的当前值。
|
String |
getXMLVersion()
返回版本属性的当前值。
|
void |
setEncoding(String encoding)
分配编码属性的当前值。
|
void |
setXMLVersion(String version)
指定版本属性的当前值。
|
getColumnNumber, getLineNumber, getPublicId, getSystemId, setColumnNumber, setLineNumber, setPublicId, setSystemId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnNumber, getLineNumber, getPublicId, getSystemId
public Locator2Impl()
public Locator2Impl(Locator locator)
locator
-现有定位对象。
public String getXMLVersion()
getXMLVersion
接口
Locator2
setXMLVersion(java.lang.String)
public String getEncoding()
getEncoding
接口
Locator2
setEncoding(java.lang.String)
public void setXMLVersion(String version)
version
-新的“版本”的价值
getXMLVersion()
public void setEncoding(String encoding)
encoding
-新的“编码”的价值
getEncoding()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.