Java Doc for OutPort.java in  » Scripting » Kawa » gnu » mapping » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » gnu.mapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.io.Writer
      java.io.PrintWriter
         gnu.lists.PrintConsumer
            gnu.mapping.OutPort

All known Subclasses:   gnu.xml.XMLPrinter,  gnu.mapping.CharArrayOutPort,
OutPort
public class OutPort extends PrintConsumer implements Printable(Code)
An extended PrintWriter.


Field Summary
protected  PrettyWriterbout
    
final public static  ThreadLocationerrLocation
    
static  WriterlogFile
    
 java.text.NumberFormatnumberFormat
     If non-null, use this to print numbers.
public  AbstractFormatobjectFormat
    
static  OutPortoutInitial
    
final public static  ThreadLocationoutLocation
    
 Pathpath
    
public  booleanprintReadable
    
protected  ObjectunregisterRef
     An index into the WriterManager's internal table. The value zero means it is unregistered.

Constructor Summary
protected  OutPort(Writer base, PrettyWriter out, boolean autoflush)
    
protected  OutPort(OutPort out, boolean autoflush)
    
protected  OutPort(Writer out, boolean autoflush)
    
public  OutPort(Writer base, boolean printPretty, boolean autoflush)
    
public  OutPort(Writer base, boolean printPretty, boolean autoflush, Path path)
    
public  OutPort(OutputStream out)
    
public  OutPort(OutputStream out, Path path)
    
public  OutPort(Writer out)
    
public  OutPort(Writer base, Path path)
    
public  OutPort(Writer base, boolean autoflush, Path path)
    

Method Summary
public  voidclearBuffer()
    
public  voidclose()
    
public static  voidcloseLogFile()
    
protected  booleancloseOnExit()
     True if the port should be automatically closed on exit. (If so, it will be registered by WriterManager.
public  voidecho(char[] buf, int off, int len)
    
public  voidendAttribute()
     No more attributes in this element.
public  voidendElement()
    
public  voidendLogicalBlock(String suffix)
    
public static  OutPorterrDefault()
    
public  voidfreshLine()
    
public  intgetColumnNumber()
    
final protected static  booleanisWordChar(char ch)
    
public static  OutPortopenFile(Object fname)
    
public static  OutPortoutDefault()
    
public  voidprint(int v)
    
public  voidprint(long v)
    
public  voidprint(double v)
    
public  voidprint(float v)
    
public  voidprint(String v)
    
public  voidprint(Object v)
    
public  voidprint(Consumer out)
    
public static  voidrunCleanups()
    
public  voidsetColumnNumber(int column)
    
public static  voidsetErrDefault(OutPort e)
    
public  voidsetIndentation(int amount, boolean current)
    
public static  voidsetLogFile(String name)
    
public static  voidsetOutDefault(OutPort o)
    
public  voidstartAttribute(Object attrType)
     Write a attribute for the current element. This is only allowed immediately after a startElement.
public  voidstartElement(Object type)
    
public  voidstartLogicalBlock(String prefix, boolean perLine, String suffix)
    
public  voidstartLogicalBlock(String prefix, String suffix, int indent)
    
public  voidwriteBreak(int kind)
    
public  voidwriteBreakFill()
    
public  voidwriteBreakLinear()
     Write a new-line iff the containing section cannot be printed on one line.
public  voidwriteSpaceFill()
     Write a new-line if needed, space otherwise.
public  voidwriteSpaceLinear()
    
public  voidwriteWordEnd()
     Note the end of a "word".
public  voidwriteWordStart()
     Maybe write a word-separating space. Specifically, write a space if the previous output was OutPort.writeWordEnd .

Field Detail
bout
protected PrettyWriter bout(Code)



errLocation
final public static ThreadLocation errLocation(Code)



logFile
static Writer logFile(Code)



numberFormat
java.text.NumberFormat numberFormat(Code)
If non-null, use this to print numbers.



objectFormat
public AbstractFormat objectFormat(Code)



outInitial
static OutPort outInitial(Code)



outLocation
final public static ThreadLocation outLocation(Code)



path
Path path(Code)



printReadable
public boolean printReadable(Code)



unregisterRef
protected Object unregisterRef(Code)
An index into the WriterManager's internal table. The value zero means it is unregistered.




Constructor Detail
OutPort
protected OutPort(Writer base, PrettyWriter out, boolean autoflush)(Code)



OutPort
protected OutPort(OutPort out, boolean autoflush)(Code)



OutPort
protected OutPort(Writer out, boolean autoflush)(Code)



OutPort
public OutPort(Writer base, boolean printPretty, boolean autoflush)(Code)



OutPort
public OutPort(Writer base, boolean printPretty, boolean autoflush, Path path)(Code)



OutPort
public OutPort(OutputStream out)(Code)



OutPort
public OutPort(OutputStream out, Path path)(Code)



OutPort
public OutPort(Writer out)(Code)



OutPort
public OutPort(Writer base, Path path)(Code)



OutPort
public OutPort(Writer base, boolean autoflush, Path path)(Code)




Method Detail
clearBuffer
public void clearBuffer()(Code)



close
public void close()(Code)



closeLogFile
public static void closeLogFile() throws java.io.IOException(Code)



closeOnExit
protected boolean closeOnExit()(Code)
True if the port should be automatically closed on exit. (If so, it will be registered by WriterManager.



echo
public void echo(char[] buf, int off, int len) throws java.io.IOException(Code)



endAttribute
public void endAttribute()(Code)
No more attributes in this element.



endElement
public void endElement()(Code)



endLogicalBlock
public void endLogicalBlock(String suffix)(Code)



errDefault
public static OutPort errDefault()(Code)



freshLine
public void freshLine()(Code)



getColumnNumber
public int getColumnNumber()(Code)



isWordChar
final protected static boolean isWordChar(char ch)(Code)



openFile
public static OutPort openFile(Object fname) throws java.io.IOException(Code)



outDefault
public static OutPort outDefault()(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)



print
public void print(String v)(Code)



print
public void print(Object v)(Code)



print
public void print(Consumer out)(Code)



runCleanups
public static void runCleanups()(Code)



setColumnNumber
public void setColumnNumber(int column)(Code)



setErrDefault
public static void setErrDefault(OutPort e)(Code)



setIndentation
public void setIndentation(int amount, boolean current)(Code)



setLogFile
public static void setLogFile(String name) throws java.io.IOException(Code)



setOutDefault
public static void setOutDefault(OutPort o)(Code)



startAttribute
public void startAttribute(Object attrType)(Code)
Write a attribute for the current element. This is only allowed immediately after a startElement.



startElement
public void startElement(Object type)(Code)



startLogicalBlock
public void startLogicalBlock(String prefix, boolean perLine, String suffix)(Code)



startLogicalBlock
public void startLogicalBlock(String prefix, String suffix, int indent)(Code)



writeBreak
public void writeBreak(int kind)(Code)



writeBreakFill
public void writeBreakFill()(Code)



writeBreakLinear
public void writeBreakLinear()(Code)
Write a new-line iff the containing section cannot be printed on one line. Either all linear-style newlines in a logical block becomes spaces (if it all fits in a line), or none of them do.



writeSpaceFill
public void writeSpaceFill()(Code)
Write a new-line if needed, space otherwise.



writeSpaceLinear
public void writeSpaceLinear()(Code)



writeWordEnd
public void writeWordEnd()(Code)
Note the end of a "word". See OutPort.writeWordStart .



writeWordStart
public void writeWordStart()(Code)
Maybe write a word-separating space. Specifically, write a space if the previous output was OutPort.writeWordEnd . Otherwise, do nothing.



Methods inherited from gnu.lists.PrintConsumer
public void endAttribute()(Code)(Java Doc)
public void endDocument()(Code)(Java Doc)
public void endElement()(Code)(Java Doc)
protected void endNumber()(Code)(Java Doc)
public boolean ignoring()(Code)(Java Doc)
public void startAttribute(Object attrType)(Code)(Java Doc)
public void startDocument()(Code)(Java Doc)
public void startElement(Object type)(Code)(Java Doc)
protected void startNumber()(Code)(Java Doc)
public void write(CharSequence csq, int start, int end)(Code)(Java Doc)
public void writeBoolean(boolean v)(Code)(Java Doc)
public void writeDouble(double v)(Code)(Java Doc)
public void writeFloat(float v)(Code)(Java Doc)
public void writeInt(int v)(Code)(Java Doc)
public void writeLong(long v)(Code)(Java Doc)
public void writeObject(Object v)(Code)(Java Doc)

Fields inherited from java.io.PrintWriter
protected Writer out(Code)(Java Doc)

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)

Fields inherited from java.io.Writer
protected Object lock(Code)(Java Doc)

Methods inherited from java.io.Writer
public Writer append(CharSequence csq) throws IOException(Code)(Java Doc)
public Writer append(CharSequence csq, int start, int end) throws IOException(Code)(Java Doc)
public Writer append(char c) throws IOException(Code)(Java Doc)
abstract public void close() throws IOException(Code)(Java Doc)
abstract public void flush() throws IOException(Code)(Java Doc)
public void write(int c) throws IOException(Code)(Java Doc)
public void write(char cbuf) throws IOException(Code)(Java Doc)
abstract public void write(char cbuf, int off, int len) throws IOException(Code)(Java Doc)
public void write(String str) throws IOException(Code)(Java Doc)
public void write(String str, int off, int len) throws IOException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.