C# Class Rhino.Xmlimpl.XMLObjectImpl

Inheritance: Rhino.Xml.XMLObject
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public final AddValues ( Context cx, bool thisIsLeft, object value ) : object
cx Rhino.Context
thisIsLeft bool
value object
Résultat object

Delete() public final méthode

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

Delete() public méthode

public Delete ( string name ) : void
name string
Résultat void

EnterDotQuery() public méthode

public EnterDotQuery ( Scriptable scope ) : NativeWith
scope Scriptable
Résultat Rhino.NativeWith

EnterWith() public méthode

public EnterWith ( Scriptable scope ) : NativeWith
scope Scriptable
Résultat Rhino.NativeWith

EquivalentValues() protected final méthode

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
Résultat object

ExecIdCall() public méthode

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
Résultat object

FindPrototypeId() protected méthode

protected FindPrototypeId ( string s ) : int
s string
Résultat int

Get() public final méthode

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

Get() public méthode

public Get ( string name, Scriptable start ) : object
name string
start Scriptable
Résultat object

GetDefaultValue() public final méthode

public final GetDefaultValue ( Type hint ) : object
hint System.Type
Résultat object

GetFunctionProperty() public méthode

public GetFunctionProperty ( Context cx, int id ) : object
cx Rhino.Context
id int
Résultat object

GetFunctionProperty() public méthode

public GetFunctionProperty ( Context cx, string name ) : object
cx Rhino.Context
name string
Résultat object

GetParentScope() public final méthode

public final GetParentScope ( ) : Scriptable
Résultat Scriptable

GetPrototype() public final méthode

public final GetPrototype ( ) : Scriptable
Résultat Scriptable

Has() public final méthode

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

Has() public méthode

public Has ( string name, Scriptable start ) : bool
name string
start Scriptable
Résultat bool

HasInstance() public final méthode

public final HasInstance ( Scriptable scriptable ) : bool
scriptable Scriptable
Résultat bool

InitPrototypeId() protected méthode

protected InitPrototypeId ( int id ) : void
id int
Résultat void

JsConstructor() protected abstract méthode

protected abstract JsConstructor ( Context cx, bool inNewExpr, object args ) : object
cx Rhino.Context
inNewExpr bool
args object
Résultat object

MemberRef() public méthode

public MemberRef ( Context cx, object elem, int memberTypeFlags ) : Ref
cx Rhino.Context
elem object
memberTypeFlags int
Résultat Rhino.Ref

MemberRef() public méthode

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
Résultat Rhino.Ref

Put() public final méthode

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

Put() public méthode

public Put ( string name, Scriptable start, object value ) : void
name string
start Scriptable
value object
Résultat void

SetParentScope() public final méthode

public final SetParentScope ( Scriptable parent ) : void
parent Scriptable
Résultat void

SetPrototype() public final méthode

public final SetPrototype ( Scriptable prototype ) : void
prototype Scriptable
Résultat void

ToString() public abstract méthode

public abstract ToString ( ) : string
Résultat string

XMLObjectImpl() protected méthode

protected XMLObjectImpl ( XMLLibImpl lib, Scriptable scope, XMLObject prototype ) : System
lib XMLLibImpl
scope Scriptable
prototype XMLObject
Résultat System