org.oXML.type
Class ParentNode

java.lang.Object
  extended byorg.oXML.type.AbstractNode
      extended byorg.oXML.type.ParentNode
All Implemented Interfaces:
Node

public class ParentNode
extends AbstractNode

ObjectBox - o:XML compiler and interpreter for more information see http://www.o-xml.org/objectbox Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd email: martin at hack.org This class has been generated from an o:XML template


Field Summary
static Type TYPE
           
 
Fields inherited from class org.oXML.type.AbstractNode
me
 
Constructor Summary
ParentNode()
          generated constructor, called directly
ParentNode(AbstractNode me, Type type)
           
ParentNode(AbstractNode me, Type type, Nodeset kids)
           
ParentNode(ParentNode other, boolean deep)
          generated constructor, called directly
 
Method Summary
 Node _boolean()
           
 Node append(Node child)
           
 Node append(NodesetNode child)
           
 Node copy(boolean deep)
           
 Node count()
           
 Nodeset getNodeset()
           
 void init()
           
 void init(ParentNode other, boolean deep)
           
 Node insert(NumberNode position, Node child)
           
 Node insertAfter(Node current, Node other)
           
 Node insertBefore(Node current, Node other)
           
 Node nodes()
           
 Node prepend(Node child)
           
 Node remove(Node child)
           
 Node replace(Node current, Node replacement)
           
 
Methods inherited from class org.oXML.type.AbstractNode
addChildNode, booleanValue, byteValue, cast, cast, equals, equals, getAttribute, getAttributes, getAttributeValue, getChildNodes, getDocument, getInstance, getName, getNextSibling, getParent, getPreviousSibling, getType, hashCode, hasInstance, insert, numberValue, removeChild, setAttribute, setAttribute, setInstance, setName, setParent, stringValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final Type TYPE
Constructor Detail

ParentNode

public ParentNode(AbstractNode me,
                  Type type)

ParentNode

public ParentNode(AbstractNode me,
                  Type type,
                  Nodeset kids)

ParentNode

public ParentNode(ParentNode other,
                  boolean deep)
generated constructor, called directly


ParentNode

public ParentNode()
generated constructor, called directly

Method Detail

getNodeset

public Nodeset getNodeset()

init

public void init(ParentNode other,
                 boolean deep)

init

public void init()
Overrides:
init in class AbstractNode

prepend

public Node prepend(Node child)

append

public Node append(Node child)

append

public Node append(NodesetNode child)

insert

public Node insert(NumberNode position,
                   Node child)
            throws ObjectBoxException
Throws:
ObjectBoxException

remove

public Node remove(Node child)

replace

public Node replace(Node current,
                    Node replacement)

count

public Node count()

insertBefore

public Node insertBefore(Node current,
                         Node other)
                  throws ObjectBoxException
Throws:
ObjectBoxException

insertAfter

public Node insertAfter(Node current,
                        Node other)
                 throws ObjectBoxException
Throws:
ObjectBoxException

nodes

public Node nodes()

_boolean

public Node _boolean()

copy

public Node copy(boolean deep)