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()
返回encoding属性的当前值。
|
String |
getXMLVersion()
返回version属性的当前值。
|
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
- 现有的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.