com.caucho.quercus.lib.dom
Class QuercusDOMModule

java.lang.Object
  extended by com.caucho.quercus.module.AbstractQuercusModule
      extended by com.caucho.quercus.lib.dom.QuercusDOMModule
All Implemented Interfaces:
QuercusModule

public class QuercusDOMModule
extends AbstractQuercusModule


Field Summary
static int DOM_HIERARCHY_REQUEST_ERR
           
static int DOM_INDEX_SIZE_ERR
           
static int DOM_INUSE_ATTRIBUTE_ERR
           
static int DOM_INVALID_ACCESS_ERR
           
static int DOM_INVALID_CHARACTER_ERR
           
static int DOM_INVALID_MODIFICATION_ERR
           
static int DOM_INVALID_STATE_ERR
           
static int DOM_NAMESPACE_ERR
           
static int DOM_NO_DATA_ALLOWED_ERR
           
static int DOM_NO_MODIFICATION_ALLOWED_ERR
           
static int DOM_NOT_FOUND_ERR
           
static int DOM_NOT_SUPPORTED_ERR
           
static int DOM_SYNTAX_ERR
           
static int DOM_VALIDATION_ERR
           
static int DOM_WRONG_DOCUMENT_ERR
           
static int DOMSTRING_SIZE_ERR
           
static int XML_ATTRIBUTE_CDATA
           
static int XML_ATTRIBUTE_DECL_NODE
           
static int XML_ATTRIBUTE_ENTITY
           
static int XML_ATTRIBUTE_ENUMERATION
           
static int XML_ATTRIBUTE_ID
           
static int XML_ATTRIBUTE_IDREF
           
static int XML_ATTRIBUTE_IDREFS
           
static int XML_ATTRIBUTE_NMTOKEN
           
static int XML_ATTRIBUTE_NMTOKENS
           
static int XML_ATTRIBUTE_NODE
           
static int XML_ATTRIBUTE_NOTATION
           
static int XML_CDATA_SECTION_NODE
           
static int XML_COMMENT_NODE
           
static int XML_DOCUMENT_FRAG_NODE
           
static int XML_DOCUMENT_NODE
           
static int XML_DOCUMENT_TYPE_NODE
           
static int XML_DTD_NODE
           
static int XML_ELEMENT_DECL_NODE
           
static int XML_ELEMENT_NODE
           
static int XML_ENTITY_DECL_NODE
           
static int XML_ENTITY_NODE
           
static int XML_ENTITY_REF_NODE
           
static int XML_HTML_DOCUMENT_NODE
           
static int XML_NAMESPACE_DECL_NODE
           
static int XML_NOTATION_NODE
           
static int XML_PI_NODE
           
static int XML_TEXT_NODE
           
 
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
 
Constructor Summary
QuercusDOMModule()
           
 
Method Summary
static DOMElement dom_import_simplexml(Env env, SimpleXMLElement node)
           
 java.lang.String[] getLoadedExtensions()
          Returns true for the dom extension.
 
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_ELEMENT_NODE

public static final int XML_ELEMENT_NODE
See Also:
Constant Field Values

XML_ATTRIBUTE_NODE

public static final int XML_ATTRIBUTE_NODE
See Also:
Constant Field Values

XML_TEXT_NODE

public static final int XML_TEXT_NODE
See Also:
Constant Field Values

XML_CDATA_SECTION_NODE

public static final int XML_CDATA_SECTION_NODE
See Also:
Constant Field Values

XML_ENTITY_REF_NODE

public static final int XML_ENTITY_REF_NODE
See Also:
Constant Field Values

XML_ENTITY_NODE

public static final int XML_ENTITY_NODE
See Also:
Constant Field Values

XML_PI_NODE

public static final int XML_PI_NODE
See Also:
Constant Field Values

XML_COMMENT_NODE

public static final int XML_COMMENT_NODE
See Also:
Constant Field Values

XML_DOCUMENT_NODE

public static final int XML_DOCUMENT_NODE
See Also:
Constant Field Values

XML_DOCUMENT_TYPE_NODE

public static final int XML_DOCUMENT_TYPE_NODE
See Also:
Constant Field Values

XML_DOCUMENT_FRAG_NODE

public static final int XML_DOCUMENT_FRAG_NODE
See Also:
Constant Field Values

XML_NOTATION_NODE

public static final int XML_NOTATION_NODE
See Also:
Constant Field Values

XML_HTML_DOCUMENT_NODE

public static final int XML_HTML_DOCUMENT_NODE
See Also:
Constant Field Values

XML_DTD_NODE

public static final int XML_DTD_NODE
See Also:
Constant Field Values

XML_ELEMENT_DECL_NODE

public static final int XML_ELEMENT_DECL_NODE
See Also:
Constant Field Values

XML_ATTRIBUTE_DECL_NODE

public static final int XML_ATTRIBUTE_DECL_NODE
See Also:
Constant Field Values

XML_ENTITY_DECL_NODE

public static final int XML_ENTITY_DECL_NODE
See Also:
Constant Field Values

XML_NAMESPACE_DECL_NODE

public static final int XML_NAMESPACE_DECL_NODE
See Also:
Constant Field Values

XML_ATTRIBUTE_CDATA

public static final int XML_ATTRIBUTE_CDATA
See Also:
Constant Field Values

XML_ATTRIBUTE_ID

public static final int XML_ATTRIBUTE_ID
See Also:
Constant Field Values

XML_ATTRIBUTE_IDREF

public static final int XML_ATTRIBUTE_IDREF
See Also:
Constant Field Values

XML_ATTRIBUTE_IDREFS

public static final int XML_ATTRIBUTE_IDREFS
See Also:
Constant Field Values

XML_ATTRIBUTE_ENTITY

public static final int XML_ATTRIBUTE_ENTITY
See Also:
Constant Field Values

XML_ATTRIBUTE_NMTOKEN

public static final int XML_ATTRIBUTE_NMTOKEN
See Also:
Constant Field Values

XML_ATTRIBUTE_NMTOKENS

public static final int XML_ATTRIBUTE_NMTOKENS
See Also:
Constant Field Values

XML_ATTRIBUTE_ENUMERATION

public static final int XML_ATTRIBUTE_ENUMERATION
See Also:
Constant Field Values

XML_ATTRIBUTE_NOTATION

public static final int XML_ATTRIBUTE_NOTATION
See Also:
Constant Field Values

DOM_INDEX_SIZE_ERR

public static final int DOM_INDEX_SIZE_ERR
See Also:
Constant Field Values

DOMSTRING_SIZE_ERR

public static final int DOMSTRING_SIZE_ERR
See Also:
Constant Field Values

DOM_HIERARCHY_REQUEST_ERR

public static final int DOM_HIERARCHY_REQUEST_ERR
See Also:
Constant Field Values

DOM_WRONG_DOCUMENT_ERR

public static final int DOM_WRONG_DOCUMENT_ERR
See Also:
Constant Field Values

DOM_INVALID_CHARACTER_ERR

public static final int DOM_INVALID_CHARACTER_ERR
See Also:
Constant Field Values

DOM_NO_DATA_ALLOWED_ERR

public static final int DOM_NO_DATA_ALLOWED_ERR
See Also:
Constant Field Values

DOM_NO_MODIFICATION_ALLOWED_ERR

public static final int DOM_NO_MODIFICATION_ALLOWED_ERR
See Also:
Constant Field Values

DOM_NOT_FOUND_ERR

public static final int DOM_NOT_FOUND_ERR
See Also:
Constant Field Values

DOM_NOT_SUPPORTED_ERR

public static final int DOM_NOT_SUPPORTED_ERR
See Also:
Constant Field Values

DOM_INUSE_ATTRIBUTE_ERR

public static final int DOM_INUSE_ATTRIBUTE_ERR
See Also:
Constant Field Values

DOM_INVALID_STATE_ERR

public static final int DOM_INVALID_STATE_ERR
See Also:
Constant Field Values

DOM_SYNTAX_ERR

public static final int DOM_SYNTAX_ERR
See Also:
Constant Field Values

DOM_INVALID_MODIFICATION_ERR

public static final int DOM_INVALID_MODIFICATION_ERR
See Also:
Constant Field Values

DOM_NAMESPACE_ERR

public static final int DOM_NAMESPACE_ERR
See Also:
Constant Field Values

DOM_INVALID_ACCESS_ERR

public static final int DOM_INVALID_ACCESS_ERR
See Also:
Constant Field Values

DOM_VALIDATION_ERR

public static final int DOM_VALIDATION_ERR
See Also:
Constant Field Values
Constructor Detail

QuercusDOMModule

public QuercusDOMModule()
Method Detail

getLoadedExtensions

public java.lang.String[] getLoadedExtensions()
Returns true for the dom extension.

Specified by:
getLoadedExtensions in interface QuercusModule
Overrides:
getLoadedExtensions in class AbstractQuercusModule

dom_import_simplexml

public static DOMElement dom_import_simplexml(Env env,
                                              SimpleXMLElement node)