| java.lang.Object java.io.Writer java.io.PrintWriter gnu.mapping.OutPort
All known Subclasses: gnu.mapping.CharArrayOutPort,
Constructor Summary | |
| OutPort(Writer base, PrettyWriter out, boolean autoflush) | public | OutPort(Writer base, boolean printPretty, boolean autoflush) | public | OutPort(Writer base, boolean printPretty, boolean autoflush, String name) | public | OutPort(OutputStream out) | public | OutPort(OutputStream out, String name) | public | OutPort(Writer out) | public | OutPort(Writer base, String name) | public | OutPort(Writer base, boolean autoflush, String name) |
Method Summary | |
public void | beginAttribute(String attrName, Object attrType) Write a attribute for the current group.
This is only allowed immediately after a beginGroup. | public void | beginGroup(String typeName, Object type) | public void | clearBuffer() | public void | close() | public static void | closeLogFile() | public void | echo(char[] buf, int off, int len) | public void | endAttribute() No more attributes in this group. | public void | endGroup(String typeName) | public void | endLogicalBlock(String suffix) | public static OutPort | errDefault() | public void | freshLine() | public int | getColumnNumber() | public boolean | ignoring() True if consumer is ignoring rest of group.
The producer can use this information to skip ahead. | final protected static boolean | isWordChar(char ch) | public static OutPort | outDefault() | public void | print(char v) | public void | print(int v) | public void | print(long v) | public void | print(double v) | public void | print(float v) | public void | print(String v) | public void | print(Object v) | public void | print(java.io.PrintWriter ps) | public static void | runCleanups() | public void | setColumnNumber(int column) | public static void | setErrDefault(OutPort e) | public void | setIndentation(int amount, boolean current) | public static void | setLogFile(String name) | public static void | setOutDefault(OutPort o) | public void | startLogicalBlock(String prefix, boolean perLine, String suffix) | public void | startLogicalBlock(String prefix, String suffix, int indent) | public void | write(int c) | public void | write(char[] buffer, int start, int count) | public void | write(String v) | public void | writeBoolean(boolean v) | public void | writeBreak(int kind) | public void | writeBreakFill() | public void | writeBreakLinear() | public void | writeChar(int i) Write a character value to a byte-stream. | public void | writeChars(String str) | public void | writeDouble(double v) | public void | writeFloat(float v) | public void | writeInt(int v) | public void | writeLong(long v) | public void | writeObject(Object v) | public void | writeSchemeObject(Object obj, boolean readable) | public void | writeSpaceFill() | public void | writeSpaceLinear() |
WORD | final protected static int WORD(Code) | | |
index | protected int index(Code) | | An index into the WriterManager's internal table.
|
printReadable | public boolean printReadable(Code) | | |
OutPort | public OutPort(Writer base, boolean printPretty, boolean autoflush)(Code) | | |
OutPort | public OutPort(Writer base, boolean printPretty, boolean autoflush, String name)(Code) | | |
beginAttribute | public void beginAttribute(String attrName, Object attrType)(Code) | | Write a attribute for the current group.
This is only allowed immediately after a beginGroup.
|
clearBuffer | public void clearBuffer()(Code) | | |
close | public void close()(Code) | | |
endAttribute | public void endAttribute()(Code) | | No more attributes in this group.
|
endLogicalBlock | public void endLogicalBlock(String suffix)(Code) | | |
freshLine | public void freshLine()(Code) | | |
getColumnNumber | public int getColumnNumber()(Code) | | |
ignoring | public boolean ignoring()(Code) | | True if consumer is ignoring rest of group.
The producer can use this information to skip ahead.
|
isWordChar | final protected static boolean isWordChar(char ch)(Code) | | |
print | public void print(char v)(Code) | | |
print | public void print(int v)(Code) | | |
print | public void print(long v)(Code) | | |
print | public void print(double v)(Code) | | |
print | public void print(float v)(Code) | | |
runCleanups | public static void runCleanups()(Code) | | |
setColumnNumber | public void setColumnNumber(int column)(Code) | | |
setIndentation | public void setIndentation(int amount, boolean current)(Code) | | |
startLogicalBlock | public void startLogicalBlock(String prefix, boolean perLine, String suffix)(Code) | | |
startLogicalBlock | public void startLogicalBlock(String prefix, String suffix, int indent)(Code) | | |
write | public void write(int c)(Code) | | |
write | public void write(char[] buffer, int start, int count)(Code) | | |
writeBoolean | public void writeBoolean(boolean v)(Code) | | |
writeBreak | public void writeBreak(int kind)(Code) | | |
writeBreakFill | public void writeBreakFill()(Code) | | |
writeBreakLinear | public void writeBreakLinear()(Code) | | |
writeChar | public void writeChar(int i)(Code) | | Write a character value to a byte-stream.
The default transation generates UTF-8 multi-bytes.
We support character values above 0xFFFF for future extension.
|
writeDouble | public void writeDouble(double v)(Code) | | |
writeFloat | public void writeFloat(float v)(Code) | | |
writeInt | public void writeInt(int v)(Code) | | |
writeLong | public void writeLong(long v)(Code) | | |
writeSchemeObject | public void writeSchemeObject(Object obj, boolean readable)(Code) | | |
writeSpaceFill | public void writeSpaceFill()(Code) | | |
writeSpaceLinear | public void writeSpaceLinear()(Code) | | |
Methods inherited from java.io.PrintWriter | public PrintWriter append(CharSequence csq)(Code)(Java Doc) public PrintWriter append(CharSequence csq, int start, int end)(Code)(Java Doc) public PrintWriter append(char c)(Code)(Java Doc) public boolean checkError()(Code)(Java Doc) protected void clearError()(Code)(Java Doc) public void close()(Code)(Java Doc) public void flush()(Code)(Java Doc) public PrintWriter format(String format, Object... args)(Code)(Java Doc) public PrintWriter format(Locale l, String format, Object... args)(Code)(Java Doc) public void print(boolean b)(Code)(Java Doc) public void print(char c)(Code)(Java Doc) public void print(int i)(Code)(Java Doc) public void print(long l)(Code)(Java Doc) public void print(float f)(Code)(Java Doc) public void print(double d)(Code)(Java Doc) public void print(char s)(Code)(Java Doc) public void print(String s)(Code)(Java Doc) public void print(Object obj)(Code)(Java Doc) public PrintWriter printf(String format, Object... args)(Code)(Java Doc) public PrintWriter printf(Locale l, String format, Object... args)(Code)(Java Doc) public void println()(Code)(Java Doc) public void println(boolean x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(int x)(Code)(Java Doc) public void println(long x)(Code)(Java Doc) public void println(float x)(Code)(Java Doc) public void println(double x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(String x)(Code)(Java Doc) public void println(Object x)(Code)(Java Doc) protected void setError()(Code)(Java Doc) public void write(int c)(Code)(Java Doc) public void write(char buf, int off, int len)(Code)(Java Doc) public void write(char buf)(Code)(Java Doc) public void write(String s, int off, int len)(Code)(Java Doc) public void write(String s)(Code)(Java Doc)
|
|
|