WstxInputSource to allow
reading input from various sources.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static WstxInputSource | constructCharArraySource(WstxInputSource parent, String fromEntity, char[] text, int offset, int len, Location loc, URL src)
Factory method usually used to expand internal parsed entities; in which case context remains mostly the same. |
| public static BranchingReaderSource | constructDocumentSource(ReaderConfig cfg, InputBootstrapper bs, String pubId, SystemId sysId, Reader r, boolean realClose)
Factory method used for creating the main-level document reader source. |
| public static ReaderSource | constructEntitySource(ReaderConfig cfg, WstxInputSource parent, String
Name of the entity expanded to create this input
source: null when source created for the (main level) external
DTD subset entity. entityName, InputBootstrapper bs, String pubId, SystemId sysId, int Optional xml version identifier of the main parsed
document. Currently only relevant for checking that XML 1.0 document
does not include XML 1.1 external parsed entities.
If unknown, no checks will be done. xmlVersion, Reader r)
|
| InputSourceFactory | back to summary |
|---|---|
| public InputSourceFactory() | |
| constructCharArraySource | back to summary |
|---|---|
| public static WstxInputSource constructCharArraySource(WstxInputSource parent, String fromEntity, char[] text, int offset, int len, Location loc, URL src) Factory method usually used to expand internal parsed entities; in which case context remains mostly the same. | |
| constructDocumentSource | back to summary |
|---|---|
| public static BranchingReaderSource constructDocumentSource(ReaderConfig cfg, InputBootstrapper bs, String pubId, SystemId sysId, Reader r, boolean realClose) Factory method used for creating the main-level document reader source. | |
| constructEntitySource | back to summary |
|---|---|
public static ReaderSource constructEntitySource(ReaderConfig cfg, WstxInputSource parent, String entityName, InputBootstrapper bs, String pubId, SystemId sysId, int xmlVersion, Reader r)
| |