|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.simplexml.SimpleXMLElement
com.caucho.quercus.lib.simplexml.SelectedXMLElement
public class SelectedXMLElement
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 |
SelectedXMLElement(Env env,
QuercusClass cls,
SimpleXMLElement owner)
|
Method Summary | |
---|---|
protected SimpleXMLElement |
getOwner()
|
java.util.Iterator |
iterator()
Required for 'foreach'. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.quercus.lib.simplexml.SimpleXMLElement |
---|
__construct, __count, __get, __getField, __set, __setField, __toString, addAttribute, addAttribute, addChild, addNamespace, addNamespaceAttribute, addText, asXML, attributes, children, create, entrySet, getAttribute, getDocNamespaces, getKey, getName, getNamespace, getNamespace, getNamespaces, getQuercusClass, getValue, hasNamespace, isElement, isNamespaceAttribute, isSameNamespace, isSamePrefix, 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, wait, wait, wait |
Methods inherited from interface java.util.Map.Entry |
---|
equals, hashCode |
Constructor Detail |
---|
protected SelectedXMLElement(Env env, QuercusClass cls, SimpleXMLElement owner)
Method Detail |
---|
protected SimpleXMLElement getOwner()
getOwner
in class SimpleXMLElement
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Iterator iterator()
foreach($a as $b)
, this method
should return an iterator that contains Java objects
that will be wrapped in a Value.
When a 'foreach' loop with name/value pairs
i.e. foreach($a as $b=>$c)
invokes this method, it expects an iterator that
contains objects that implement Map.Entry.
iterator
in class SimpleXMLElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |