C# Класс Rhino.Xmlimpl.XMLObjectImpl

Наследование: Rhino.Xml.XMLObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddValues() публичный закрытый Метод

public final AddValues ( Context cx, bool thisIsLeft, object value ) : object
cx Rhino.Context
thisIsLeft bool
value object
Результат object

Delete() публичный закрытый Метод

Implementation of ECMAScript [[Delete]].
Implementation of ECMAScript [[Delete]].
public final Delete ( Context cx, object id ) : bool
cx Rhino.Context
id object
Результат bool

Delete() публичный Метод

public Delete ( string name ) : void
name string
Результат void

EnterDotQuery() публичный Метод

public EnterDotQuery ( Scriptable scope ) : NativeWith
scope Scriptable
Результат Rhino.NativeWith

EnterWith() публичный Метод

public EnterWith ( Scriptable scope ) : NativeWith
scope Scriptable
Результат Rhino.NativeWith

EquivalentValues() защищенный закрытый Метод

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
Результат object

ExecIdCall() публичный Метод

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
Результат object

FindPrototypeId() защищенный Метод

protected FindPrototypeId ( string s ) : int
s string
Результат int

Get() публичный закрытый Метод

Implementation of ECMAScript [[Get]]
public final Get ( Context cx, object id ) : object
cx Rhino.Context
id object
Результат object

Get() публичный Метод

public Get ( string name, Scriptable start ) : object
name string
start Scriptable
Результат object

GetDefaultValue() публичный закрытый Метод

public final GetDefaultValue ( Type hint ) : object
hint System.Type
Результат object

GetFunctionProperty() публичный Метод

public GetFunctionProperty ( Context cx, int id ) : object
cx Rhino.Context
id int
Результат object

GetFunctionProperty() публичный Метод

public GetFunctionProperty ( Context cx, string name ) : object
cx Rhino.Context
name string
Результат object

GetParentScope() публичный закрытый Метод

public final GetParentScope ( ) : Scriptable
Результат Scriptable

GetPrototype() публичный закрытый Метод

public final GetPrototype ( ) : Scriptable
Результат Scriptable

Has() публичный закрытый Метод

Implementation of ECMAScript [[Has]]
public final Has ( Context cx, object id ) : bool
cx Rhino.Context
id object
Результат bool

Has() публичный Метод

public Has ( string name, Scriptable start ) : bool
name string
start Scriptable
Результат bool

HasInstance() публичный закрытый Метод

public final HasInstance ( Scriptable scriptable ) : bool
scriptable Scriptable
Результат bool

InitPrototypeId() защищенный Метод

protected InitPrototypeId ( int id ) : void
id int
Результат void

JsConstructor() защищенный абстрактный Метод

protected abstract JsConstructor ( Context cx, bool inNewExpr, object args ) : object
cx Rhino.Context
inNewExpr bool
args object
Результат object

MemberRef() публичный Метод

public MemberRef ( Context cx, object elem, int memberTypeFlags ) : Ref
cx Rhino.Context
elem object
memberTypeFlags int
Результат Rhino.Ref

MemberRef() публичный Метод

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
Результат Rhino.Ref

Put() публичный закрытый Метод

Implementation of ECMAScript [[Put]]
public final Put ( Context cx, object id, object value ) : void
cx Context
id object
value object
Результат void

Put() публичный Метод

public Put ( string name, Scriptable start, object value ) : void
name string
start Scriptable
value object
Результат void

SetParentScope() публичный закрытый Метод

public final SetParentScope ( Scriptable parent ) : void
parent Scriptable
Результат void

SetPrototype() публичный закрытый Метод

public final SetPrototype ( Scriptable prototype ) : void
prototype Scriptable
Результат void

ToString() публичный абстрактный Метод

public abstract ToString ( ) : string
Результат string

XMLObjectImpl() защищенный Метод

protected XMLObjectImpl ( XMLLibImpl lib, Scriptable scope, XMLObject prototype ) : System
lib XMLLibImpl
scope Scriptable
prototype XMLObject
Результат System