Mojarra JSF Tools 2.1.28.SP9

com.sun.faces.generate
Class AbstractGenerator.CodeWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.BufferedWriter
          extended by com.sun.faces.generate.AbstractGenerator.CodeWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Enclosing class:
AbstractGenerator

protected static class AbstractGenerator.CodeWriter
extends BufferedWriter


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
AbstractGenerator.CodeWriter(Writer writer)
           
 
Method Summary
 void fwrite(String str)
           
 void indent()
           
 void outdent()
           
 void writeBlockComment(String str)
           
 void writeImport(String fullyQualifiedClassName)
           
 void writeJavadocComment(String str)
           
 void writeLineComment(String str)
           
 void writePackage(String packageName)
           
 void writePublicClassDeclaration(String className, String extendsClass, String[] implementsClasses, boolean isAbstract, boolean isFinal)
           
 void writeReadOnlyProperty(String propertyName, String type)
           
 void writeReadOnlyProperty(String propertyName, String type, String defaultValue)
           
 void writeReadWriteProperty(String propertyName, String type)
           
 void writeReadWriteProperty(String propertyName, String type, String defaultValue)
           
 void writeWriteOnlyProperty(String propertyName, String type)
           
 void writeWriteOnlyProperty(String propertyName, String type, String defaultValue)
           
 
Methods inherited from class java.io.BufferedWriter
close, flush, newLine, write, write, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGenerator.CodeWriter

public AbstractGenerator.CodeWriter(Writer writer)
Method Detail

indent

public void indent()

outdent

public void outdent()

fwrite

public void fwrite(String str)
            throws IOException
Throws:
IOException

writePackage

public void writePackage(String packageName)
                  throws IOException
Throws:
IOException

writeImport

public void writeImport(String fullyQualifiedClassName)
                 throws IOException
Throws:
IOException

writePublicClassDeclaration

public void writePublicClassDeclaration(String className,
                                        String extendsClass,
                                        String[] implementsClasses,
                                        boolean isAbstract,
                                        boolean isFinal)
                                 throws IOException
Throws:
IOException

writeJavadocComment

public void writeJavadocComment(String str)
                         throws IOException
Throws:
IOException

writeLineComment

public void writeLineComment(String str)
                      throws IOException
Throws:
IOException

writeBlockComment

public void writeBlockComment(String str)
                       throws IOException
Throws:
IOException

writeReadWriteProperty

public void writeReadWriteProperty(String propertyName,
                                   String type,
                                   String defaultValue)
                            throws IOException
Throws:
IOException

writeReadWriteProperty

public void writeReadWriteProperty(String propertyName,
                                   String type)
                            throws IOException
Throws:
IOException

writeReadOnlyProperty

public void writeReadOnlyProperty(String propertyName,
                                  String type,
                                  String defaultValue)
                           throws IOException
Throws:
IOException

writeReadOnlyProperty

public void writeReadOnlyProperty(String propertyName,
                                  String type)
                           throws IOException
Throws:
IOException

writeWriteOnlyProperty

public void writeWriteOnlyProperty(String propertyName,
                                   String type,
                                   String defaultValue)
                            throws IOException
Throws:
IOException

writeWriteOnlyProperty

public void writeWriteOnlyProperty(String propertyName,
                                   String type)
                            throws IOException
Throws:
IOException

Mojarra JSF Tools 2.1.28.SP9

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.