C# 클래스 Mueller.Wddx.WddxDeserializer

This class is the main entry point for deserializing a WDDX packet into a native CLR object.
파일 보기 프로젝트 열기: Bilal-S/WDDX.net

공개 메소드들

메소드 설명
Deserialize ( XmlTextReader input ) : object

Deserialize an System.Xml.XmlTextReader pointing to a WDDX packet. Does not perform validation on the packet.

Deserialize ( XmlTextReader input, bool validate ) : object

Deserialize an System.Xml.XmlTextReader pointing to a WDDX packet.

If validate is set to true, this method will throw a WddxValidationException if it encounters invalid WDDX. Note that ColdFusion can produce dateTime elements that the WDDX XML Schema cannot validate, so this method may throw a WddxValidationException for packets that can be successfully deserialized if validation is turned off.

Deserialize ( string WddxPacket ) : object

Deserializes a string containing a WDDX packet. Does not perform validation on the packet.

Deserialize ( string WddxPacket, bool validate ) : object

Deserializes a string containing a WDDX packet.

If validate is set to true, this method will throw a WddxValidationException if it encounters invalid WDDX.

IsValid ( XmlTextReader input ) : bool

Validates the given WDDX packet against the WDDX XML Schema, and indicates whether or not the packet passed validation.

ColdFusion can produce dateTime elements that the WDDX XML Schema cannot validate, so this method may return false for packets that can be successfully deserialized.

IsValid ( string WddxPacket ) : bool

Validates the given WDDX packet against the WDDX XML Schema, and indicates whether or not the packet passed validation.

ColdFusion can produce dateTime elements that the WDDX XML Schema cannot validate, so this method may return false for packets that can be successfully deserialized.

메소드 상세

Deserialize() 공개 메소드

Deserialize an System.Xml.XmlTextReader pointing to a WDDX packet. Does not perform validation on the packet.
public Deserialize ( XmlTextReader input ) : object
input System.Xml.XmlTextReader The pre-initialized pointing to the WDDX to be parsed.
리턴 object

Deserialize() 공개 메소드

Deserialize an System.Xml.XmlTextReader pointing to a WDDX packet.
If validate is set to true, this method will throw a WddxValidationException if it encounters invalid WDDX. Note that ColdFusion can produce dateTime elements that the WDDX XML Schema cannot validate, so this method may throw a WddxValidationException for packets that can be successfully deserialized if validation is turned off.
/// The validate parameter is set to true and invalid WDDX is encountered. ///
public Deserialize ( XmlTextReader input, bool validate ) : object
input System.Xml.XmlTextReader The pre-initialized pointing to the WDDX to be parsed.
validate bool /// Boolean indicating whether or not validation should be performed during deserialization. ///
리턴 object

Deserialize() 공개 메소드

Deserializes a string containing a WDDX packet. Does not perform validation on the packet.
public Deserialize ( string WddxPacket ) : object
WddxPacket string The WDDX packet to be deserialized.
리턴 object

Deserialize() 공개 메소드

Deserializes a string containing a WDDX packet.
If validate is set to true, this method will throw a WddxValidationException if it encounters invalid WDDX.
/// The validate parameter is set to true and invalid WDDX is encountered. ///
public Deserialize ( string WddxPacket, bool validate ) : object
WddxPacket string The WDDX packet to be deserialized.
validate bool /// Boolean indicating whether or not validation should be performed during deserialization. ///
리턴 object

IsValid() 공개 메소드

Validates the given WDDX packet against the WDDX XML Schema, and indicates whether or not the packet passed validation.
ColdFusion can produce dateTime elements that the WDDX XML Schema cannot validate, so this method may return false for packets that can be successfully deserialized.
public IsValid ( XmlTextReader input ) : bool
input System.Xml.XmlTextReader The pre-initialized pointing to the WDDX to be validated.
리턴 bool

IsValid() 공개 메소드

Validates the given WDDX packet against the WDDX XML Schema, and indicates whether or not the packet passed validation.
ColdFusion can produce dateTime elements that the WDDX XML Schema cannot validate, so this method may return false for packets that can be successfully deserialized.
public IsValid ( string WddxPacket ) : bool
WddxPacket string The WDDX packet to be validated.
리턴 bool