public class NamespaceBuilderSupport extends BuilderSupport
Constructor and Description |
---|
NamespaceBuilderSupport(BuilderSupport builder) |
NamespaceBuilderSupport(BuilderSupport builder,
Map nsMap) |
NamespaceBuilderSupport(BuilderSupport builder,
String uri) |
NamespaceBuilderSupport(BuilderSupport builder,
String uri,
String prefix) |
NamespaceBuilderSupport(BuilderSupport builder,
String uri,
String prefix,
boolean autoPrefix) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createNode(Object name) |
protected Object |
createNode(Object name,
Map attributes) |
protected Object |
createNode(Object name,
Map attributes,
Object value) |
protected Object |
createNode(Object name,
Object value) |
NamespaceBuilderSupport |
declareNamespace(Map nsMap) |
protected Object |
getCurrent() |
protected Object |
getName(String methodName)
A hook to allow names to be converted into some other object
such as a QName in XML or ObjectName in JMX.
|
NamespaceBuilderSupport |
namespace(String namespaceURI) |
NamespaceBuilderSupport |
namespace(String namespaceURI,
String prefix) |
protected void |
setCurrent(Object current) |
protected void |
setParent(Object parent,
Object child) |
doInvokeMethod, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate
getMetaClass, getProperty, setMetaClass, setProperty
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)
public NamespaceBuilderSupport namespace(String namespaceURI)
public NamespaceBuilderSupport namespace(String namespaceURI, String prefix)
public NamespaceBuilderSupport declareNamespace(Map nsMap)
protected Object getCurrent()
getCurrent
in class BuilderSupport
protected void setCurrent(Object current)
setCurrent
in class BuilderSupport
protected void setParent(Object parent, Object child)
setParent
in class BuilderSupport
protected Object getName(String methodName)
BuilderSupport
getName
in class BuilderSupport
methodName
- the name of the desired methodprotected Object createNode(Object name)
createNode
in class BuilderSupport
protected Object createNode(Object name, Object value)
createNode
in class BuilderSupport
protected Object createNode(Object name, Map attributes)
createNode
in class BuilderSupport
protected Object createNode(Object name, Map attributes, Object value)
createNode
in class BuilderSupport