软件包 | 描述 |
---|---|
javax.xml.stream | |
javax.xml.stream.events | |
javax.xml.stream.util |
Modifier and Type | Field and Description |
---|---|
protected Location |
XMLStreamException.location |
Modifier and Type | Method and Description |
---|---|
Location |
XMLStreamException.getLocation()
获取异常的位置
|
Location |
XMLStreamReader.getLocation()
返回处理器的当前位置。
|
Modifier and Type | Method and Description |
---|---|
void |
XMLReporter.report(String message, String errorType, Object relatedInformation, Location location)
在应用程序特定的格式中报告所需的消息。
|
abstract void |
XMLEventFactory.setLocation(Location location)
此方法允许在由该工厂创建的每个事件上设置位置。
|
Constructor and Description |
---|
XMLStreamException(String msg, Location location)
构建与相关信息的一个例外,例外和位置。
|
XMLStreamException(String msg, Location location, Throwable th)
构建与相关信息的一个例外,例外和位置。
|
Modifier and Type | Method and Description |
---|---|
Location |
XMLEvent.getLocation()
返回此事件的位置。
|
Modifier and Type | Method and Description |
---|---|
Location |
StreamReaderDelegate.getLocation() |
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.