|
Groovy 1.7.2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.util.slurpersupport.Node
public class Node extends Object
Represents a node.
Constructor Summary | |
Node(Node parent, String name, Map attributes, Map attributeNamespaces, String namespaceURI)
@param parent the parent node |
Method Summary | |
---|---|
void
|
addChild(Object child)
|
protected void
|
appendNode(Object newValue, GPathResult result)
|
Map
|
attributes()
|
void
|
build(GroovyObject builder, Map namespaceMap, Map namespaceTagHints)
|
Iterator
|
childNodes()
|
List
|
children()
|
String
|
name()
|
String
|
namespaceURI()
|
protected void
|
replaceBody(Object newValue)
|
void
|
replaceNode(Closure replacementClosure, GPathResult result)
|
String
|
text()
|
Writer
|
writeTo(Writer out)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public Node(Node parent, String name, Map attributes, Map attributeNamespaces, String namespaceURI)
Method Detail |
---|
public void addChild(Object child)
protected void appendNode(Object newValue, GPathResult result)
public Map attributes()
public void build(GroovyObject builder, Map namespaceMap, Map namespaceTagHints)
public Iterator childNodes()
public List children()
public String name()
public String namespaceURI()
protected void replaceBody(Object newValue)
public void replaceNode(Closure replacementClosure, GPathResult result)
public String text()
public Writer writeTo(Writer out)
Copyright © 2003-2010 The Codehaus. All rights reserved.