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) |
|
NamespaceBuilderSupport |
declareNamespace(Map nsMap) |
|
protected Object |
getCurrent() |
|
protected Object |
getName(String methodName) |
|
Object |
invokeMethod(String methodName, Object args) Allow automatic detection of namespace declared in the attributes |
|
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 | Name |
---|---|
class BuilderSupport |
createNode, createNode, createNode, createNode, doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate, setCurrent, setParent |
class GroovyObjectSupport |
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Allow automatic detection of namespace declared in the attributes
Copyright © 2003-2019 The Apache Software Foundation. All rights reserved.