|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DTDReader
Optional interface implemented by XMLStreamReader implementations that provide additional
data about XMLStreamConstants.DTD events.
All the requirements outlined in org.apache.axiom.ext.stax apply to this extension
interface. In particular, to get a reference to the extension, the consumer MUST call
XMLStreamReader.getProperty(String) with PROPERTY as the property name.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY
The name of the property used to look up this extension interface from a XMLStreamReader implementation. |
| Method Summary | |
|---|---|
java.lang.String |
getPublicId()
Get the public ID of the external subset. |
java.lang.String |
getRootName()
Get the root name of the DTD, i.e. |
java.lang.String |
getSystemId()
Get the system ID of the external subset. |
| Field Detail |
|---|
static final java.lang.String PROPERTY
XMLStreamReader implementation.
| Method Detail |
|---|
java.lang.String getRootName()
null
java.lang.IllegalStateException - if the current event is not XMLStreamConstants.DTDjava.lang.String getPublicId()
null if there is no external subset or no public ID
has been specified for the external subset
java.lang.IllegalStateException - if the current event is not XMLStreamConstants.DTDjava.lang.String getSystemId()
null if there is no external subset
java.lang.IllegalStateException - if the current event is not XMLStreamConstants.DTD
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||