| groovy.util.BuilderSupport groovy.xml.MarkupBuilder
MarkupBuilder | public MarkupBuilder()(Code) | | |
getDoubleQuotes | public boolean getDoubleQuotes()(Code) | | Returns true if attribute values are output with
double quotes; false if single quotes are used.
By default, single quotes are used.
|
setDoubleQuotes | public void setDoubleQuotes(boolean useDoubleQuotes)(Code) | | Sets whether the builder outputs attribute values in double
quotes or single quotes.
Parameters: useDoubleQuotes - If this parameter is true ,double quotes are used; otherwise, single quotes are. |
transformValue | protected String transformValue(String value)(Code) | | Returns a String with special XML characters escaped as entities so that
output XML is valid. Escapes the following characters as corresponding
entities:
- \' as '
- & as &
- < as <
- > as >
Parameters: value - to be searched and replaced for XML special characters. value with XML characters escaped See Also: MarkupBuilder.escapeXmlValue(String,boolean) |
Methods inherited from groovy.util.BuilderSupport | abstract protected Object createNode(Object name)(Code)(Java Doc) abstract protected Object createNode(Object name, Object value)(Code)(Java Doc) abstract protected Object createNode(Object name, Map attributes)(Code)(Java Doc) abstract protected Object createNode(Object name, Map attributes, Object value)(Code)(Java Doc) protected Object doInvokeMethod(String methodName, Object name, Object args)(Code)(Java Doc) protected Object getCurrent()(Code)(Java Doc) protected Object getName(String methodName)(Code)(Java Doc) public Object invokeMethod(String methodName)(Code)(Java Doc) public Object invokeMethod(String methodName, Object args)(Code)(Java Doc) protected void nodeCompleted(Object parent, Object node)(Code)(Java Doc) protected void setClosureDelegate(Closure closure, Object node)(Code)(Java Doc) protected void setCurrent(Object current)(Code)(Java Doc) abstract protected void setParent(Object parent, Object child)(Code)(Java Doc)
|
|
|