|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.dom.XmlOutputWriterBase
public class XmlOutputWriterBase
Field Summary | |
---|---|
protected boolean |
m_intag
|
Constructor Summary | |
---|---|
XmlOutputWriterBase(java.io.Writer w)
|
Method Summary | |
---|---|
void |
attr(java.lang.String name,
boolean value)
|
void |
attr(java.lang.String name,
int value)
|
void |
attr(java.lang.String name,
long value)
Write a simple numeric attribute thingy. |
void |
attr(java.lang.String name,
java.lang.String value)
Appends an attribute to the last tag. |
void |
closetag(java.lang.String name)
|
void |
dec()
|
void |
endAndCloseXmltag()
Ends a tag by adding />. |
void |
endtag()
Ends a tag by adding a > only. |
protected java.io.Writer |
getWriter()
|
void |
inc()
|
boolean |
isIndentEnabled()
|
void |
nl()
|
protected void |
println()
|
void |
rawAttr(java.lang.String name,
java.lang.String value)
|
void |
tag(java.lang.String tagname)
Writes a tag start. |
void |
text(java.lang.String s)
Writes string data. |
void |
writeRaw(java.lang.String s)
|
protected void |
writeRaw(java.lang.String s,
int off,
int len)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean m_intag
Constructor Detail |
---|
public XmlOutputWriterBase(java.io.Writer w)
Method Detail |
---|
protected java.io.Writer getWriter()
public void text(java.lang.String s) throws java.io.IOException
java.io.IOException
protected void println() throws java.io.IOException
java.io.IOException
public void nl() throws java.io.IOException
java.io.IOException
public void inc()
public void dec()
public boolean isIndentEnabled()
public void tag(java.lang.String tagname) throws java.io.IOException
namespace
- tagname
-
java.io.IOException
public void endtag() throws java.io.IOException
java.io.IOException
public void endAndCloseXmltag() throws java.io.IOException
java.io.IOException
public void closetag(java.lang.String name) throws java.io.IOException
java.io.IOException
public void attr(java.lang.String name, java.lang.String value) throws java.io.IOException
namespace
- name
- value
-
java.io.IOException
public void rawAttr(java.lang.String name, java.lang.String value) throws java.io.IOException
java.io.IOException
public void attr(java.lang.String name, long value) throws java.io.IOException
namespace
- name
- value
-
java.io.IOException
public void attr(java.lang.String name, int value) throws java.io.IOException
java.io.IOException
public void attr(java.lang.String name, boolean value) throws java.io.IOException
java.io.IOException
public void writeRaw(java.lang.String s) throws java.io.IOException
java.io.IOException
protected void writeRaw(java.lang.String s, int off, int len) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |