Class ProcessingInstruction
The default implementation of the ProcessingInstruction class
[XmlNamespace("http://www.eclipse.org/emf/2003/XMLType")]
[XmlNamespacePrefix("ecore.xml.type")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2003/XMLType#//ProcessingInstruction")]
public class ProcessingInstruction : ModelElement, IProcessingInstruction, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
ProcessingInstruction
- Implements
- Inherited Members
Properties
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
Data
The data property
[XmlElementName("data")]
[XmlAttribute(true)]
public string Data { get; set; }
Property Value
Target
The target property
[XmlElementName("target")]
[XmlAttribute(true)]
public string Target { get; set; }
Property Value
Methods
GetAttributeValue(string, int)
Resolves the given attribute name
protected override object GetAttributeValue(string attribute, int index)
Parameters
Returns
- object
The attribute value or null if it could not be found
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
GetExpressionForAttribute(string)
Gets the property expression for the given attribute
protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)
Parameters
attribute
stringThe requested attribute in upper case
Returns
- INotifyExpression<object>
An incremental property expression
OnDataChanged(ValueChangedEventArgs)
Raises the DataChanged event
protected virtual void OnDataChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnDataChanging(ValueChangedEventArgs)
Raises the DataChanging event
protected virtual void OnDataChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnTargetChanged(ValueChangedEventArgs)
Raises the TargetChanged event
protected virtual void OnTargetChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnTargetChanging(ValueChangedEventArgs)
Raises the TargetChanging event
protected virtual void OnTargetChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)
Parameters
Events
DataChanged
Gets fired when the Data property changed its value
public event EventHandler<ValueChangedEventArgs> DataChanged
Event Type
DataChanging
Gets fired before the Data property changes its value
public event EventHandler<ValueChangedEventArgs> DataChanging
Event Type
TargetChanged
Gets fired when the Target property changed its value
public event EventHandler<ValueChangedEventArgs> TargetChanged
Event Type
TargetChanging
Gets fired before the Target property changes its value
public event EventHandler<ValueChangedEventArgs> TargetChanging