public class NamespaceBuilderSupport extends BuilderSupport
A helper class for creating namespaced GroovyMarkup
Constructor and description |
---|
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) |
Type Params | Return Type | Name and description |
---|---|---|
|
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) |
|
public NamespaceBuilderSupport |
declareNamespace(Map nsMap) |
|
protected Object |
getCurrent() |
|
protected Object |
getName(String methodName) |
|
public Object |
invokeMethod(String methodName, Object args) Allow automatic detection of namespace declared in the attributes |
|
public NamespaceBuilderSupport |
namespace(String namespaceURI) |
|
public NamespaceBuilderSupport |
namespace(String namespaceURI, String prefix) |
|
protected void |
setCurrent(Object current) |
|
protected void |
setParent(Object parent, Object child) |
Methods inherited from class | Name |
---|---|
class BuilderSupport |
createNode, createNode, createNode, createNode, doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate, setCurrent, setParent |
class GroovyObjectSupport |
getMetaClass, setMetaClass |
Allow automatic detection of namespace declared in the attributes
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.