Home | History | Annotate | Download | only in xmladapters

Lines Matching refs:projection

83  * <h2>Projection syntax</h2>
84 * For every selected node, the projection will then extract actual data from this node and its
88 * with a child of the selected node. The implicit root of this projection pattern is the selected
92 * nodes match the projection pattern, their texts are appended as a result.</p>
94 * A projection can also fetch any node attribute by appending a <code>@attribute_name</code>
98 * <p>If a projection does not match any node/attribute, its associated value will be an empty
157 * <p>The number of columns of the resulting Cursor is equal to the size of the projection
159 * Cursor to be used with a {@link CursorAdapter}). The other columns' names are the projection
163 * @param projection A set of patterns that will be used to extract data from each selected
173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
192 XMLCursor xmlCursor = new XMLCursor(selection, projection);
362 String projection = projections[i + 1]; // +1 to skip the _ID column
363 int atIndex = projection.lastIndexOf('@', projection.length());
365 mAttributeNames[i] = projection.substring(atIndex+1);
366 projection = projection.substring(0, atIndex);
372 if (projection.charAt(0) == '.') {
373 projection = projection.substring(1);
375 mProjectionPatterns[i] = createPattern(projection);