groovy.xml
Class Namespace
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.util.BuilderSupport
groovy.xml.Namespace
- All Implemented Interfaces:
- GroovyObject
- public class Namespace
- extends BuilderSupport
A helper class for creating namespaced GroovyMarkup
- Version:
- $Revision: 1.2 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Namespace
public Namespace(BuilderSupport builder,
String uri)
Namespace
public Namespace(BuilderSupport builder,
String uri,
String prefix)
setParent
protected void setParent(Object parent,
Object child)
- Specified by:
setParent
in class BuilderSupport
getName
protected Object getName(String methodName)
- Description copied from class:
BuilderSupport
- A hook to allow names to be converted into some other object
such as a QName in XML or ObjectName in JMX
- Overrides:
getName
in class BuilderSupport
- Parameters:
methodName
-
- Returns:
createNode
protected Object createNode(Object name)
- Specified by:
createNode
in class BuilderSupport
createNode
protected Object createNode(Object name,
Object value)
- Specified by:
createNode
in class BuilderSupport
createNode
protected Object createNode(Object name,
Map attributes)
- Specified by:
createNode
in class BuilderSupport
createNode
protected Object createNode(Object name,
Map attributes,
Object value)
- Specified by:
createNode
in class BuilderSupport
Copyright © 2003-2005 The Codehaus. All Rights Reserved.