public static class SMOAttribute.IntAttribute extends SMOutputtable
Modifier and Type | Field and Description |
---|---|
protected String |
_localName |
protected SMNamespace |
_namespace |
protected int |
_value |
_next
Constructor and Description |
---|
SMOAttribute.IntAttribute(SMNamespace namespace,
String localName,
int value) |
Modifier and Type | Method and Description |
---|---|
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.
|
_linkNext, getNext
protected final SMNamespace _namespace
protected final String _localName
protected final int _value
public SMOAttribute.IntAttribute(SMNamespace namespace, String localName, int value)
protected boolean _output(SMOutputContext ctxt, boolean canClose) throws 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.XMLStreamException
protected void _forceOutput(SMOutputContext ctxt) throws XMLStreamException
SMOutputtable
SMOutputtable._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 SMOutputtable
XMLStreamException
Copyright © 2013 FasterXML. All Rights Reserved.