|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.staxmate.out.SMOutputtable
org.codehaus.staxmate.out.SMOComment
public class SMOComment
Simple container class for storing definition of a buffered comment node.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.staxmate.out.SMOutputtable |
|---|
_next |
| Constructor Summary | |
|---|---|
SMOComment(java.lang.String text)
|
|
| Method Summary | |
|---|---|
protected void |
_forceOutput(SMOutputContext ctxt)
Method similar to SMOutputtable._output(org.codehaus.staxmate.out.SMOutputContext, boolean), except that this method will
always succeed in doing the output. |
protected boolean |
_output(SMOutputContext ctxt,
boolean canClose)
Method called to request that the entity output itself; either as much as it can without closing, or as much as it can if it is to get closed. |
| Methods inherited from class org.codehaus.staxmate.out.SMOutputtable |
|---|
_linkNext, getNext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMOComment(java.lang.String text)
| Method Detail |
|---|
protected boolean _output(SMOutputContext ctxt,
boolean canClose)
throws javax.xml.stream.XMLStreamException
SMOutputtable
ctxt - Output context to use for outputting this node (and
its contents)canClose - If true, indicates that the node can (and should)
be fully closed if possible. This (passing true) is usually done
when a new sibling
is added after a node (element/fragment); if so, current one
should be recursively closed. If false, should only try to output
as much as can be done without forcing closures.
javax.xml.stream.XMLStreamException
protected void _forceOutput(SMOutputContext ctxt)
throws javax.xml.stream.XMLStreamException
SMOutputtableSMOutputtable._output(org.codehaus.staxmate.out.SMOutputContext, boolean), except that this method will
always succeed in doing the output. Specifically, it will force all
buffered nodes to be unbuffered, and then output.
_forceOutput in class SMOutputtablejavax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||