C# Class Rhino.Xmlimpl.XMLObjectImpl

Inheritance: Rhino.Xml.XMLObject
ファイルを表示 Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
AddValues ( Context cx, bool thisIsLeft, object value ) : object
Delete ( Context cx, object id ) : bool

Implementation of ECMAScript [[Delete]].

Implementation of ECMAScript [[Delete]].

Delete ( string name ) : void
EnterDotQuery ( Scriptable scope ) : NativeWith
EnterWith ( Scriptable scope ) : NativeWith
ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
Get ( Context cx, object id ) : object

Implementation of ECMAScript [[Get]]

Get ( string name, Scriptable start ) : object
GetDefaultValue ( Type hint ) : object
GetFunctionProperty ( Context cx, int id ) : object
GetFunctionProperty ( Context cx, string name ) : object
GetParentScope ( ) : Scriptable
GetPrototype ( ) : Scriptable
Has ( Context cx, object id ) : bool

Implementation of ECMAScript [[Has]]

Has ( string name, Scriptable start ) : bool
HasInstance ( Scriptable scriptable ) : bool
MemberRef ( Context cx, object elem, int memberTypeFlags ) : Ref
MemberRef ( Context cx, object @namespace, object elem, int memberTypeFlags ) : Ref

Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.

Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.

Put ( Context cx, object id, object value ) : void

Implementation of ECMAScript [[Put]]

Put ( string name, Scriptable start, object value ) : void
SetParentScope ( Scriptable parent ) : void
SetPrototype ( Scriptable prototype ) : void
ToString ( ) : string

Protected Methods

Method Description
EquivalentValues ( object value ) : object

XMLObject always compare with any value and equivalentValues never returns Rhino.Scriptable.NOT_FOUND for them but rather calls equivalentXml(value) and wrap the result as Boolean.

FindPrototypeId ( string s ) : int
InitPrototypeId ( int id ) : void
JsConstructor ( Context cx, bool inNewExpr, object args ) : object
XMLObjectImpl ( XMLLibImpl lib, Scriptable scope, XMLObject prototype ) : System

Private Methods

Method Description
AddMatches ( XMLList rv, XMLName name ) : void
Arg ( object args, int i ) : object
Child ( XMLName xmlName ) : XMLList
Child ( int index ) : XMLList
Children ( ) : XMLList
Comments ( ) : XMLList
Contains ( object xml ) : bool
Copy ( ) : XMLObjectImpl
CreateEmptyXML ( ) : XML
CreateNamespace ( Rhino declaration ) : Namespace
CreateNamespaces ( Rhino declarations ) : Rhino.Xmlimpl.Namespace[]
DeleteXMLProperty ( XMLName name ) : void

ecmaDelete(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.

ecmaDelete(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.

EcmaEscapeAttributeValue ( string s ) : string
EcmaToXml ( object @object ) : XML
Elements ( XMLName xmlName ) : XMLList
EquivalentXml ( object target ) : bool

Test XML equality with target the target.

Test XML equality with target the target.

ExportAsJSClass ( bool @sealed ) : void
GetLib ( ) : XMLLibImpl
GetMatches ( XMLName name ) : XMLList
GetProcessor ( ) : XmlProcessor
GetXML ( ) : XML
GetXMLProperty ( XMLName name ) : object

ecmaGet(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.

ecmaGet(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.

HasComplexContent ( ) : bool
HasOwnProperty ( XMLName xmlName ) : bool
HasSimpleContent ( ) : bool
HasXMLProperty ( XMLName name ) : bool

ecmaHas(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.

ecmaHas(cx, id) calls this after resolving when id to XMLName and checking it is not Uint32 index.

Initialize ( XMLLibImpl lib, Scriptable scope, XMLObject prototype ) : void
IsPrototype ( ) : bool
Length ( ) : int
NewQName ( Rhino name ) : QName
NewQName ( string uri, string localName, string prefix ) : QName
NewTextElementXML ( Rhino reference, Rhino qname, string value ) : XML
NewXML ( Rhino node ) : XML
NewXMLFromJs ( object inputObject ) : XML
NewXMLList ( ) : XMLList
NewXMLListFrom ( object o ) : XMLList
Normalize ( ) : void
Parent ( ) : object
ProcessingInstructions ( XMLName xmlName ) : XMLList
PropertyIsEnumerable ( object member ) : bool
PutXMLProperty ( XMLName name, object value ) : void

ecmaPut(cx, id, value) calls this after resolving when id to XMLName and checking it is not Uint32 index.

ecmaPut(cx, id, value) calls this after resolving when id to XMLName and checking it is not Uint32 index.

Text ( ) : XMLList
ToObjectArray ( object typed ) : object[]
ToSource ( int indent ) : string
ToXMLString ( ) : string
ValueOf ( ) : object
XmlFromNode ( Rhino node ) : XML
XmlMethodNotFound ( object @object, string name ) : void

Method Details

AddValues() public final method

public final AddValues ( Context cx, bool thisIsLeft, object value ) : object
cx Rhino.Context
thisIsLeft bool
value object
return object

Delete() public final method

Implementation of ECMAScript [[Delete]].
Implementation of ECMAScript [[Delete]].
public final Delete ( Context cx, object id ) : bool
cx Rhino.Context
id object
return bool

Delete() public method

public Delete ( string name ) : void
name string
return void

EnterDotQuery() public method

public EnterDotQuery ( Scriptable scope ) : NativeWith
scope Scriptable
return Rhino.NativeWith

EnterWith() public method

public EnterWith ( Scriptable scope ) : NativeWith
scope Scriptable
return Rhino.NativeWith

EquivalentValues() protected final method

XMLObject always compare with any value and equivalentValues never returns Rhino.Scriptable.NOT_FOUND for them but rather calls equivalentXml(value) and wrap the result as Boolean.
protected final EquivalentValues ( object value ) : object
value object
return object

ExecIdCall() public method

public ExecIdCall ( IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
f Rhino.IdFunctionObject
cx Rhino.Context
scope Scriptable
thisObj Scriptable
args object
return object

FindPrototypeId() protected method

protected FindPrototypeId ( string s ) : int
s string
return int

Get() public final method

Implementation of ECMAScript [[Get]]
public final Get ( Context cx, object id ) : object
cx Rhino.Context
id object
return object

Get() public method

public Get ( string name, Scriptable start ) : object
name string
start Scriptable
return object

GetDefaultValue() public final method

public final GetDefaultValue ( Type hint ) : object
hint System.Type
return object

GetFunctionProperty() public method

public GetFunctionProperty ( Context cx, int id ) : object
cx Rhino.Context
id int
return object

GetFunctionProperty() public method

public GetFunctionProperty ( Context cx, string name ) : object
cx Rhino.Context
name string
return object

GetParentScope() public final method

public final GetParentScope ( ) : Scriptable
return Scriptable

GetPrototype() public final method

public final GetPrototype ( ) : Scriptable
return Scriptable

Has() public final method

Implementation of ECMAScript [[Has]]
public final Has ( Context cx, object id ) : bool
cx Rhino.Context
id object
return bool

Has() public method

public Has ( string name, Scriptable start ) : bool
name string
start Scriptable
return bool

HasInstance() public final method

public final HasInstance ( Scriptable scriptable ) : bool
scriptable Scriptable
return bool

InitPrototypeId() protected method

protected InitPrototypeId ( int id ) : void
id int
return void

JsConstructor() protected abstract method

protected abstract JsConstructor ( Context cx, bool inNewExpr, object args ) : object
cx Rhino.Context
inNewExpr bool
args object
return object

MemberRef() public method

public MemberRef ( Context cx, object elem, int memberTypeFlags ) : Ref
cx Rhino.Context
elem object
memberTypeFlags int
return Rhino.Ref

MemberRef() public method

Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.
Generic reference to implement x::ns, x.@ns::y, x..@ns::y etc.
public MemberRef ( Context cx, object @namespace, object elem, int memberTypeFlags ) : Ref
cx Rhino.Context
@namespace object
elem object
memberTypeFlags int
return Rhino.Ref

Put() public final method

Implementation of ECMAScript [[Put]]
public final Put ( Context cx, object id, object value ) : void
cx Context
id object
value object
return void

Put() public method

public Put ( string name, Scriptable start, object value ) : void
name string
start Scriptable
value object
return void

SetParentScope() public final method

public final SetParentScope ( Scriptable parent ) : void
parent Scriptable
return void

SetPrototype() public final method

public final SetPrototype ( Scriptable prototype ) : void
prototype Scriptable
return void

ToString() public abstract method

public abstract ToString ( ) : string
return string

XMLObjectImpl() protected method

protected XMLObjectImpl ( XMLLibImpl lib, Scriptable scope, XMLObject prototype ) : System
lib XMLLibImpl
scope Scriptable
prototype XMLObject
return System