|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.util.XMLRenderingOptions
public class XMLRenderingOptions
XML rendering options.
Constructor Summary | |
---|---|
XMLRenderingOptions()
Ctor. |
Method Summary | |
---|---|
EventPropertyRenderer |
getRenderer()
Returns the event property renderer to use. |
boolean |
isDefaultAsAttribute()
Indicator whether simple properties are rendered as attributes, this setting is false by default thereby simple properties are rendered as elements. |
boolean |
isPreventLooping()
Indicator whether to prevent looping, by default set to true. |
XMLRenderingOptions |
setDefaultAsAttribute(boolean defaultAsAttribute)
Indicator whether simple properties are rendered as elements (the default) or as attributes, this setting is false by default thereby simple properties are rendered as elements. |
XMLRenderingOptions |
setPreventLooping(boolean preventLooping)
Indicator whether to prevent looping, by default set to true. |
void |
setRenderer(EventPropertyRenderer renderer)
Sets the event property renderer to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLRenderingOptions()
Method Detail |
---|
public boolean isPreventLooping()
The algorithm to control looping considers the combination of event type and property name for each level of nested property.
public boolean isDefaultAsAttribute()
public XMLRenderingOptions setPreventLooping(boolean preventLooping)
The algorithm to control looping considers the combination of event type and property name for each level of nested property.
preventLooping
- indicator whether the rendering algorithm prevents looping behavior
public XMLRenderingOptions setDefaultAsAttribute(boolean defaultAsAttribute)
defaultAsAttribute
- true for simple properties rendered as attributes
public EventPropertyRenderer getRenderer()
public void setRenderer(EventPropertyRenderer renderer)
renderer
- event property renderer
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |