@@ -52,22 +52,22 @@ namespace iText.Kernel.XMP {
52
52
/// <para />
53
53
/// <blockquote>
54
54
/// <pre>
55
- /// String path = XMPPathFactory.composeStructFieldPath (schemaNS, "Struct", fieldNS,
56
- /// "Array");
57
- /// String path += XMPPathFactory.composeArrayItemPath (schemaNS, "Array" index);
55
+ /// String path = XMPPathFactory.composeStructFieldPath (schemaNS, & quot;Struct& quot;, fieldNS,
56
+ /// & quot;Array& quot;);
57
+ /// String path += XMPPathFactory.composeArrayItemPath (schemaNS, & quot;Array& quot; index);
58
58
/// PropertyInteger result = xmpObj.getPropertyAsInteger(schemaNS, path);
59
59
/// </pre>
60
60
/// </blockquote> You could also use this code if you want the string form of the integer:
61
61
/// <blockquote>
62
62
/// <pre>
63
- /// String path = XMPPathFactory.composeStructFieldPath (schemaNS, "Struct", fieldNS,
64
- /// "Array");
63
+ /// String path = XMPPathFactory.composeStructFieldPath (schemaNS, & quot;Struct& quot;, fieldNS,
64
+ /// & quot;Array& quot;);
65
65
/// PropertyText xmpObj.getArrayItem (schemaNS, path, index);
66
66
/// </pre>
67
67
/// </blockquote>
68
68
/// <para />
69
69
/// <em>Note:</em> It might look confusing that the schemaNS is passed in all of the calls above.
70
- /// This is because the XMP toolkit keeps the top level "schema" namespace separate from
70
+ /// This is because the XMP toolkit keeps the top level & quot;schema& quot; namespace separate from
71
71
/// the rest of the path expression.
72
72
/// <em>Note:</em> These methods are much simpler than in the C++-API, they don't check the given
73
73
/// path or array indices.
@@ -90,8 +90,8 @@ private XMPPathFactory() {
90
90
/// </param>
91
91
/// <returns>
92
92
/// Returns the composed path basing on fullPath. This will be of the form
93
- /// <tt>ns:arrayName[i]</tt>, where "ns" is the prefix for schemaNS and
94
- /// "i" is the decimal representation of itemIndex.
93
+ /// <tt>ns:arrayName[i]</tt>, where & quot;ns& quot; is the prefix for schemaNS and
94
+ /// & quot;i& quot; is the decimal representation of itemIndex.
95
95
/// </returns>
96
96
public static String ComposeArrayItemPath ( String arrayName , int itemIndex ) {
97
97
if ( itemIndex > 0 ) {
@@ -122,8 +122,8 @@ public static String ComposeArrayItemPath(String arrayName, int itemIndex) {
122
122
/// </param>
123
123
/// <returns>
124
124
/// Returns the composed path. This will be of the form
125
- /// <tt>ns:structName/fNS:fieldName</tt>, where "ns" is the prefix for
126
- /// schemaNS and "fNS" is the prefix for fieldNS.
125
+ /// <tt>ns:structName/fNS:fieldName</tt>, where & quot;ns& quot; is the prefix for
126
+ /// schemaNS and & quot;fNS& quot; is the prefix for fieldNS.
127
127
/// </returns>
128
128
public static String ComposeStructFieldPath ( String fieldNS , String fieldName ) {
129
129
AssertFieldNS ( fieldNS ) ;
@@ -146,8 +146,8 @@ public static String ComposeStructFieldPath(String fieldNS, String fieldName) {
146
146
/// </param>
147
147
/// <returns>
148
148
/// Returns the composed path. This will be of the form
149
- /// <tt>ns:propName/?qNS:qualName</tt>, where "ns" is the prefix for
150
- /// schemaNS and "qNS" is the prefix for qualNS.
149
+ /// <tt>ns:propName/?qNS:qualName</tt>, where & quot;ns& quot; is the prefix for
150
+ /// schemaNS and & quot;qNS& quot; is the prefix for qualNS.
151
151
/// </returns>
152
152
public static String ComposeQualifierPath ( String qualNS , String qualName ) {
153
153
AssertQualNS ( qualNS ) ;
@@ -162,7 +162,7 @@ public static String ComposeQualifierPath(String qualNS, String qualName) {
162
162
/// <summary>Compose the path expression to select an alternate item by language.</summary>
163
163
/// <remarks>
164
164
/// Compose the path expression to select an alternate item by language. The
165
- /// path syntax allows two forms of "content addressing" that may
165
+ /// path syntax allows two forms of & quot;content addressing& quot; that may
166
166
/// be used to select an item in an array of alternatives. The form used in
167
167
/// ComposeLangSelector lets you select an item in an alt-text array based on
168
168
/// the value of its <tt>xml:lang</tt> qualifier. The other form of content
@@ -181,7 +181,7 @@ public static String ComposeQualifierPath(String qualNS, String qualName) {
181
181
/// <returns>
182
182
/// Returns the composed path. This will be of the form
183
183
/// <tt>ns:arrayName[@xml:lang='langName']</tt>, where
184
- /// "ns" is the prefix for schemaNS.
184
+ /// & quot;ns& quot; is the prefix for schemaNS.
185
185
/// </returns>
186
186
public static String ComposeLangSelector ( String arrayName , String langName ) {
187
187
return arrayName + "[?xml:lang=\" " + iText . Kernel . XMP . Impl . Utils . NormalizeLangValue ( langName ) + "\" ]" ;
@@ -190,7 +190,7 @@ public static String ComposeLangSelector(String arrayName, String langName) {
190
190
/// <summary>Compose the path expression to select an alternate item by a field's value.</summary>
191
191
/// <remarks>
192
192
/// Compose the path expression to select an alternate item by a field's value. The path syntax
193
- /// allows two forms of "content addressing" that may be used to select an item in an
193
+ /// allows two forms of & quot;content addressing& quot; that may be used to select an item in an
194
194
/// array of alternatives. The form used in ComposeFieldSelector lets you select an item in an
195
195
/// array of structs based on the value of one of the fields in the structs. The other form of
196
196
/// content addressing is shown in ComposeLangSelector. For example, consider a simple struct
@@ -200,9 +200,9 @@ public static String ComposeLangSelector(String arrayName, String langName) {
200
200
/// <para />
201
201
/// <blockquote>
202
202
/// <pre>
203
- /// String path = composeFieldSelector ( schemaNS, "Downloads", fieldNS,
204
- /// "City", chosenCity );
205
- /// XMPProperty prop = xmpObj.getStructField ( schemaNS, path, fieldNS, "URI" );
203
+ /// String path = composeFieldSelector ( schemaNS, & quot;Downloads& quot;, fieldNS,
204
+ /// & quot;City& quot;, chosenCity );
205
+ /// XMPProperty prop = xmpObj.getStructField ( schemaNS, path, fieldNS, & quot;URI& quot; );
206
206
/// </pre>
207
207
/// </blockquote>
208
208
/// </remarks>
@@ -222,8 +222,8 @@ public static String ComposeLangSelector(String arrayName, String langName) {
222
222
/// <param name="fieldValue">The desired value of the field.</param>
223
223
/// <returns>
224
224
/// Returns the composed path. This will be of the form
225
- /// <tt>ns:arrayName[fNS:fieldName='fieldValue']</tt>, where "ns" is the
226
- /// prefix for schemaNS and "fNS" is the prefix for fieldNS.
225
+ /// <tt>ns:arrayName[fNS:fieldName='fieldValue']</tt>, where & quot;ns& quot; is the
226
+ /// prefix for schemaNS and & quot;fNS& quot; is the prefix for fieldNS.
227
227
/// </returns>
228
228
public static String ComposeFieldSelector ( String arrayName , String fieldNS , String fieldName , String fieldValue
229
229
) {
0 commit comments