com.caucho.quercus.lib.simplexml
Class SimpleXMLChildren

java.lang.Object
  extended by com.caucho.quercus.lib.simplexml.SimpleXMLElement
      extended by com.caucho.quercus.lib.simplexml.SimpleXMLChildren
All Implemented Interfaces:
java.util.Map.Entry<java.lang.String,java.lang.Object>

public class SimpleXMLChildren
extends SimpleXMLElement

SimpleXMLElement object oriented API facade. Also acts as the DOM document.


Field Summary
 
Fields inherited from class com.caucho.quercus.lib.simplexml.SimpleXMLElement
_attributes, _children, _cls, _env, _name, _namespace, _namespaceMap, _parent, _prefix, _text
 
Constructor Summary
protected SimpleXMLChildren(Env env, QuercusClass cls, SimpleXMLElement parent, java.lang.String name)
           
 
Method Summary
 Value __get(Env env, Value indexV)
          Implementation for getting the indices of this class.
 StringValue asXML(Env env)
          Converts node tree to a valid xml string.
 
Methods inherited from class com.caucho.quercus.lib.simplexml.SimpleXMLElement
__construct, __count, __getField, __set, __setField, __toString, addAttribute, addAttribute, addChild, addNamespace, addNamespaceAttribute, addText, attributes, children, create, entrySet, getAttribute, getDocNamespaces, getKey, getName, getNamespace, getNamespace, getNamespaces, getOwner, getQuercusClass, getValue, hasNamespace, isElement, isNamespaceAttribute, isSameNamespace, isSamePrefix, iterator, jsonEncode, jsonEncodeImpl, printDepth, setQuercusClass, setText, setValue, simplexml_getName, toXML, toXMLImpl, varDumpImpl, wrapJava, xpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

SimpleXMLChildren

protected SimpleXMLChildren(Env env,
                            QuercusClass cls,
                            SimpleXMLElement parent,
                            java.lang.String name)
Method Detail

__get

public Value __get(Env env,
                   Value indexV)
Implementation for getting the indices of this class. i.e. $a->foo[0]

Overrides:
__get in class SimpleXMLElement

asXML

public StringValue asXML(Env env)
Converts node tree to a valid xml string.

Overrides:
asXML in class SimpleXMLElement
Returns:
xml string