|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport groovy.util.BuilderSupport groovy.xml.NamespaceBuilderSupport
public class NamespaceBuilderSupport extends BuilderSupport
A helper class for creating namespaced GroovyMarkup
Constructor Summary | |
NamespaceBuilderSupport(BuilderSupport builder)
|
|
NamespaceBuilderSupport(BuilderSupport builder, String uri)
|
|
NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix)
|
|
NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix, boolean autoPrefix)
|
|
NamespaceBuilderSupport(BuilderSupport builder, Map nsMap)
|
Method Summary | |
---|---|
protected Object
|
createNode(Object name)
|
protected Object
|
createNode(Object name, Object value)
|
protected Object
|
createNode(Object name, Map attributes)
|
protected Object
|
createNode(Object name, Map attributes, Object value)
|
NamespaceBuilderSupport
|
declareNamespace(Map nsMap)
|
protected Object
|
getCurrent()
|
protected Object
|
getName(String methodName)
|
NamespaceBuilderSupport
|
namespace(String namespaceURI)
|
NamespaceBuilderSupport
|
namespace(String namespaceURI, String prefix)
|
protected void
|
setCurrent(Object current)
|
protected void
|
setParent(Object parent, Object child)
|
Methods inherited from class BuilderSupport | |
---|---|
createNode, createNode, createNode, createNode, doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate, setCurrent, setParent |
Methods inherited from class GroovyObjectSupport | |
---|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public NamespaceBuilderSupport(BuilderSupport builder)
public NamespaceBuilderSupport(BuilderSupport builder, String uri)
public NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix)
public NamespaceBuilderSupport(BuilderSupport builder, String uri, String prefix, boolean autoPrefix)
public NamespaceBuilderSupport(BuilderSupport builder, Map nsMap)
Method Detail |
---|
@Overridereturn name; protected Object createNode(Object name)
@Overridereturn name; protected Object createNode(Object name, Object value)
@Overridereturn name; protected Object createNode(Object name, Map attributes)
@Overridereturn name; protected Object createNode(Object name, Map attributes, Object value)
public NamespaceBuilderSupport declareNamespace(Map nsMap)
@Override protected Object getCurrent()
@OverrideString prefix = autoPrefix ? nsMap.keySet().iterator().next() : ""; protected Object getName(String methodName)
public NamespaceBuilderSupport namespace(String namespaceURI)
public NamespaceBuilderSupport namespace(String namespaceURI, String prefix)
@Overrideprotected void setCurrent(Object current) { protected void setCurrent(Object current)
@Override} protected void setParent(Object parent, Object child)
Copyright © 2003-2013 The Codehaus. All rights reserved.