public interface PreprocessorReader extends Reader
Modifier and Type | Method and Description |
---|---|
Document |
document()
Deprecated.
Please use
getDocument() |
Document |
getDocument() |
void |
push_include(java.lang.String data,
java.lang.String file,
java.lang.String path,
int lineNumber,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Deprecated.
Use
pushInclude(String, String, String, int, Map) instead. |
void |
pushInclude(java.lang.String data,
java.lang.String file,
java.lang.String path,
int lineNumber,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Push source content onto the front of the reader and switch the context
based on the file, document-relative path and line information given.
|
advance, getDir, getFile, getLineno, getLineNumber, hasMoreLines, isNextLineEmpty, lines, peekLine, peekLines, read, readLine, readLines, restoreLine, restoreLines, terminate
@Deprecated void push_include(java.lang.String data, java.lang.String file, java.lang.String path, int lineNumber, java.util.Map<java.lang.String,java.lang.Object> attributes)
pushInclude(String, String, String, int, Map)
instead.IncludeProcessor
to add content
read from the target specified.data
- content to pushfile
- representation of name of the included file. Does not need to existspath
- representation of path of the included file. Does not need to existslineNumber
- line number of the first line of the included contentattributes
- additional attributes to passvoid pushInclude(java.lang.String data, java.lang.String file, java.lang.String path, int lineNumber, java.util.Map<java.lang.String,java.lang.Object> attributes)
IncludeProcessor
to add content
read from the target specified.data
- content to pushfile
- representation of name of the included file. Does not need to existspath
- representation of path of the included file. Does not need to existslineNumber
- line number of the first line of the included contentattributes
- additional attributes to pass@Deprecated Document document()
getDocument()
Document getDocument()