Interfaces
ParserEvent
ParserEvent
interfaceParserEvent {
attributes:Object;
data:string;
elementName:string;
eventType:string;
namespace:string;
position:Position;
prefix:string;
toString():string;
}
Provides information for a parser event.
Summary β
Properties
Methods
Properties β
attributes β
defined in @nativescript/core/xml/index.d.ts:82:1
Returns a JSON object with the attributes of an element in case the eventType is ParserEventType.StartElement.
data β
defined in @nativescript/core/xml/index.d.ts:87:1
Returns the relevant data in case the eventType is ParserEventType.Text, ParserEventType.CDATA or ParserEventType.Comment.
elementName β
defined in @nativescript/core/xml/index.d.ts:77:1
Returns the name of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
eventType β
defined in @nativescript/core/xml/index.d.ts:57:1
Returns the type of the parser event. This is one of the ParserEventType static members.
namespace β
defined in @nativescript/core/xml/index.d.ts:72:1
If namespace processing is enabled, returns the namespace of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
position β
defined in @nativescript/core/xml/index.d.ts:62:1
Get the position in the xml string where the event was generated.
prefix β
defined in @nativescript/core/xml/index.d.ts:67:1
If namespace processing is enabled, returns the prefix of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
Methods β
toString β
defined in @nativescript/core/xml/index.d.ts:92:1
Returns a JSON string representation of this instance.
Returns string
- Previous
- PanGestureEventData
On this page