public class SimpleXMLElement extends SimpleXMLNode
_cls, _view
Modifier | Constructor and Description |
---|---|
protected |
SimpleXMLElement(QuercusClass cls,
SimpleView view) |
Modifier and Type | Method and Description |
---|---|
static Value |
__construct(Env env,
StringValue data,
int options,
boolean dataIsUrl,
Value namespaceV,
boolean isPrefix) |
protected static Value |
create(Env env,
QuercusClass cls,
StringValue data,
int options,
boolean dataIsUrl,
Value namespaceV,
boolean isPrefix) |
java.util.Set<java.util.Map.Entry<Value,Value>> |
entrySet() |
boolean |
issetField(Env env,
StringValue name) |
java.util.Iterator |
iterator()
Required for 'foreach'.
|
void |
printRImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet) |
java.lang.String |
toString() |
void |
varDumpImpl(Env env,
Value obj,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet) |
__count, __get, __getField, __set, __setField, __toString, addAttribute, addChild, asXML, attributes, children, getDocNamespaces, getNamespaces, getQuercusClass, jsonEncode, registerXPathNamespace, simplexml_getName, wrapJava, xpath
protected SimpleXMLElement(QuercusClass cls, SimpleView view)
protected static Value create(Env env, QuercusClass cls, StringValue data, int options, boolean dataIsUrl, Value namespaceV, boolean isPrefix)
public static Value __construct(Env env, StringValue data, int options, boolean dataIsUrl, Value namespaceV, boolean isPrefix)
public boolean issetField(Env env, StringValue name)
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.public void varDumpImpl(Env env, Value obj, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
java.io.IOException
public void printRImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object