| java.lang.Object java.io.Writer org.netbeans.modules.schema2beansdev.gen.GenBuffer org.netbeans.modules.schema2beansdev.gen.IndentingWriter org.netbeans.modules.schema2beansdev.gen.XMLWriter
Method Summary | |
public void | endTag() | public void | endTag(boolean useCr) | public void | finishStartTag() Finish the start tag, and we expect to have children
(ie, that means the client will call endTag). | public void | finishStartTag(boolean children, boolean useCr) | public int | insertSectionAfter(int sectionNum) Insert a custom section after another section. | public void | reset() | public void | startTag(String tag) | public void | startTag(String tag, boolean finish) | public void | startTag(String namespace, String tag) | public void | startTag(String namespace, String tag, boolean finish) | public void | startTag(String namespace, String tag, String attributeString) | public void | startTag(String namespace, String tag, String attributeString, boolean finish) Parameters: finish - Whether or not to add the finishing ">", if not thensetFirst(" ") is called anticipating the addition ofattributes. Parameters: attributeString - The attributes. |
BODY_SECTION | public int BODY_SECTION(Code) | | |
HEADER_SECTION | public int HEADER_SECTION(Code) | | |
defaultSectionCount | final protected static int defaultSectionCount(Code) | | |
header | protected boolean header(Code) | | |
XMLWriter | public XMLWriter()(Code) | | |
XMLWriter | public XMLWriter(boolean header)(Code) | | |
finishStartTag | public void finishStartTag() throws IOException(Code) | | Finish the start tag, and we expect to have children
(ie, that means the client will call endTag).
|
finishStartTag | public void finishStartTag(boolean children, boolean useCr) throws IOException(Code) | | Parameters: children - if false, then there are no children, andendTag is called automatically. |
insertSectionAfter | public int insertSectionAfter(int sectionNum)(Code) | | Insert a custom section after another section.
eg:
JavaWriter jw = new JavaWriter();
int SPECIAL_SECTION = jw.insertSectionAfter(jw.CONSTRUCTOR_SECTION);
|
reset | public void reset()(Code) | | |
startTag | public void startTag(String namespace, String tag, String attributeString, boolean finish) throws IOException(Code) | | Parameters: finish - Whether or not to add the finishing ">", if not thensetFirst(" ") is called anticipating the addition ofattributes. Parameters: attributeString - The attributes. Make sure to XML escape. |
Methods inherited from org.netbeans.modules.schema2beansdev.gen.GenBuffer | public boolean anyContent()(Code)(Java Doc) protected void beforeWriteHook()(Code)(Java Doc) public void close()(Code)(Java Doc) public void ensureCapacity(int minimumCapacity)(Code)(Java Doc) public void flush()(Code)(Java Doc) public StringBuffer getBuffer()(Code)(Java Doc) public int getCurrentPosition()(Code)(Java Doc) public void insertAdditionalBuffers(int offset, int count)(Code)(Java Doc) public void popSelect()(Code)(Java Doc) public void pushSelect(int bufferNum)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void select(int bufferNum)(Code)(Java Doc) public void setFirst(String separator)(Code)(Java Doc) public void truncateAtPosition(int pos)(Code)(Java Doc) public void write(boolean b) throws IOException(Code)(Java Doc) public void write(char c) throws IOException(Code)(Java Doc) public void write(char[] str) throws IOException(Code)(Java Doc) public void write(char[] cbuf, int off, int len) throws IOException(Code)(Java Doc) public void write(double d) throws IOException(Code)(Java Doc) public void write(float f) throws IOException(Code)(Java Doc) public void write(int i) throws IOException(Code)(Java Doc) public void write(long l) throws IOException(Code)(Java Doc) public void write(Object obj) throws IOException(Code)(Java Doc) public void write(String s) throws IOException(Code)(Java Doc) public void write(StringBuffer s) throws IOException(Code)(Java Doc) public void write(String s1, String s2) throws IOException(Code)(Java Doc) public void write(String s1, String s2, String s3) throws IOException(Code)(Java Doc) public void write(String s1, String s2, String s3, String s4) throws IOException(Code)(Java Doc) public void write(String str, int bufferNum) throws IOException(Code)(Java Doc) public void writeNext(String msg) throws IOException(Code)(Java Doc) public void writeNext(String msg1, String msg2) throws IOException(Code)(Java Doc) public void writeNext(String msg1, String msg2, String msg3) throws IOException(Code)(Java Doc) public void writeNext() throws IOException(Code)(Java Doc) public void writeTo(Writer out) throws IOException(Code)(Java Doc) public void writeTo(OutputStream out) throws IOException(Code)(Java Doc) public void writeTo(StringBuffer out)(Code)(Java Doc) public void writeTo(GenBuffer out)(Code)(Java Doc)
|
|
|