IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Importer.MapXml.Field Class Referencesealed
Inheritance diagram for IKVM.Tools.Importer.MapXml.Field:
IKVM.Tools.Importer.MapXml.MapXmlElement

Static Public Member Functions

static Field Read (XElement element)
 Reads the XML element into a new Field instance.
 
static void Load (Field field, XElement element)
 Loads the XML element into the instruction.
 

Properties

string Name [get, set]
 
string Sig [get, set]
 
MapModifiers Modifiers [get, set]
 
string Constant [get, set]
 
Attribute[] Attributes [get, set]
 
- Properties inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
int LineNumber [get, set]
 Gets the line number in the source file where this element occurs.
 
int LinePosition [get, set]
 Gets the line position in the source file where this element occurs.
 

Additional Inherited Members

- Static Protected Member Functions inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
static void Load (MapXmlElement e, XElement element)
 Loads the XML element into the instance.
 

Detailed Description

Definition at line 31 of file Field.cs.

Member Function Documentation

◆ Load()

static void IKVM.Tools.Importer.MapXml.Field.Load ( Field field,
XElement element )
static

Loads the XML element into the instruction.

Parameters
field
element

Definition at line 51 of file Field.cs.

52 {
53 Load((MapXmlElement)field, element);
54 field.Name = (string)element.Attribute("name");
55 field.Sig = (string)element.Attribute("sig");
56 field.Modifiers = MapXmlSerializer.ReadMapModifiers((string)element.Attribute("modifiers"));
57 field.Constant = (string)element.Attribute("constant");
58 field.Attributes = element.Elements(MapXmlSerializer.NS + "attribute").Select(Attribute.Read).ToArray();
59 }
static void Load(Field field, XElement element)
Loads the XML element into the instruction.
Definition Field.cs:51

◆ Read()

static Field IKVM.Tools.Importer.MapXml.Field.Read ( XElement element)
static

Reads the XML element into a new Field instance.

Parameters
element
Returns

Definition at line 39 of file Field.cs.

40 {
41 var field = new Field();
42 Load(field, element);
43 return field;
44 }

Property Documentation

◆ Attributes

Attribute [] IKVM.Tools.Importer.MapXml.Field.Attributes
getset

Definition at line 69 of file Field.cs.

69{ get; set; }

◆ Constant

string IKVM.Tools.Importer.MapXml.Field.Constant
getset

Definition at line 67 of file Field.cs.

67{ get; set; }

◆ Modifiers

MapModifiers IKVM.Tools.Importer.MapXml.Field.Modifiers
getset

Definition at line 65 of file Field.cs.

65{ get; set; }

◆ Name

string IKVM.Tools.Importer.MapXml.Field.Name
getset

Definition at line 61 of file Field.cs.

61{ get; set; }

◆ Sig

string IKVM.Tools.Importer.MapXml.Field.Sig
getset

Definition at line 63 of file Field.cs.

63{ get; set; }

The documentation for this class was generated from the following file: