com.caucho.quercus.lib.simplexml
Class SimpleXMLText

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

public class SimpleXMLText
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 SimpleXMLText(Env env, QuercusClass cls)
           
protected SimpleXMLText(Env env, QuercusClass cls, StringValue text)
           
 
Method Summary
 StringValue __toString()
           
protected  boolean isElement()
           
protected  boolean isText()
           
protected  void jsonEncodeImpl(Env env, StringValue sb, boolean isTop)
           
protected  void toXMLImpl(StringValue sb)
           
 
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, getOwner, getQuercusClass, getValue, hasNamespace, isNamespaceAttribute, isSameNamespace, isSamePrefix, iterator, jsonEncode, printDepth, setQuercusClass, setText, setValue, simplexml_getName, toXML, 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

SimpleXMLText

protected SimpleXMLText(Env env,
                        QuercusClass cls)

SimpleXMLText

protected SimpleXMLText(Env env,
                        QuercusClass cls,
                        StringValue text)
Method Detail

isElement

protected boolean isElement()
Overrides:
isElement in class SimpleXMLElement

isText

protected boolean isText()

toXMLImpl

protected void toXMLImpl(StringValue sb)
Overrides:
toXMLImpl in class SimpleXMLElement

__toString

public StringValue __toString()

jsonEncodeImpl

protected void jsonEncodeImpl(Env env,
                              StringValue sb,
                              boolean isTop)
Overrides:
jsonEncodeImpl in class SimpleXMLElement