XmlParseError methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
 
Line 5: Line 5:
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[Description (XmlParseError property)|Description]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[Description (XmlParseError property)|Description]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[InputHexValue (XmlParseError property)|InputHexValue]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[InputHexValue (XmlParseError property)|InputHexValue]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xmlParseError</span><span class="literal"> =</span> <span class="literal">%(XmlParseError):[[New (XmlParseError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="XmlParseErrorReason">Reason=</span> <span class="term" title="XmlParseErrorReason">xmlParseErrorReason</span><span class="comma">,</span>            -
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xmlParseError</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(XmlParseError):</span><span class="squareb">]</span><span class="literal">[[New (XmlParseError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="XmlParseErrorReason">Reason=</span> <span class="term" title="XmlParseErrorReason">xmlParseErrorReason</span><span class="comma">,</span>            -
                                       <span class="squareb">[</span><span class="literal" title="Number">CharacterPosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span>            -
                                       <span class="squareb">[</span><span class="literal" title="Number">CharacterPosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span>            -
                                       <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
                                       <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
                                       <span class="squareb">[</span><span class="literal" title="String">InputHexValue=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
                                       <span class="squareb">[</span><span class="literal" title="String">InputHexValue=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xmlParseErrorReason</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[Reason (XmlParseError property)|Reason]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xmlParseErrorReason</span><span class="literal"> =</span> <span class="term">xmlParseError</span><span class="literal">:[[Reason (XmlParseError property)|Reason]]</span></p>

Latest revision as of 18:38, 7 August 2012

The syntax for each of the XmlParseError class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of XmlParseError methods.

%number = xmlParseError:CharacterPosition

%string = xmlParseError:Description

%string = xmlParseError:InputHexValue

%xmlParseError = [%(XmlParseError):]New( Reason= xmlParseErrorReason, - [CharacterPosition= number], - [Description= string], - [InputHexValue= string])

%xmlParseErrorReason = xmlParseError:Reason