Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: ucb ::
interface XContentIdentifierMapping
Description A mapping from a (source) set of XContentIdentifiers to another (target) set of XContentIdentifiers. For convenience and performance, mapping between the string representations of source/target XContentIdentifiers, as well as mapping between XContents identified by source/target XContentIdentifiers is also supported. This interface can be useful in cases where the identifiers (and associated contents) returned by the various methods of an XContentAccess need to be mapped to some other space of identifiers (and associated contents). See also XContent, XContentAccess, XContentIdentifier

Methods' Summary
mapContentIdentifierString | Map the string representation of an XContentIdentifier.
mapContentIdentifier | Map an XContentIdentifier.
mapContent | Map the XContent identified by an XContentIdentifier.
mapRow | Map the content identifiers (or related data) contained in the columns of a ::com::sun::star::sdbc::XRow.

Methods' Details
mapContentIdentifierString
string
mapContentIdentifierString( | [in] string | Source );
Description Map the string representation of an XContentIdentifier. Parameter Source The string representation of an XContentIdentifier from the source set. Returns The string representation of the target set's XContentIdentifier corresponding to the source identifier. The returned string may be empty if either Source was empty already, or if there's no applicable target to map to.
mapContentIdentifier
XContentIdentifier
mapContentIdentifier( | [in] XContentIdentifier | Source );
Description Map an XContentIdentifier. Parameter Source An XContentIdentifier from the source set. Returns The target set's XContentIdentifier corresponding to the source identifier. The returned XContentIdentifier may be null if either Source was null already, or if there's no applicable target to map to.
mapContent
XContent
mapContent( | [in] XContent | Source );
Description Map the XContent identified by an XContentIdentifier. Parameter Source The XContent identified by an XContentIdentifier from the source set. Returns The XContent identified by the target set's XContentIdentifier corresponding to the source identifier. The returned XContent may be null if either Source was null already, or if there's no applicable target to map to.
mapRow
boolean
mapRow( | [inout] sequence< any > | Value );
Description Map the content identifiers (or related data) contained in the columns of a ::com::sun::star::sdbc::XRow. Parameter Value On input, a sequence of anys corresponding to the columns of the XRow (the first column goes into the zeroth position of the sequence, and so on). On output, the same sequence, but with the entries mapped as necessary. This is an inout parameter rather than a combination of in parameter and return value for performance reasons (assuming that in most cases most elements in the input sequence will be returned unmodified). Returns true if any of the columns contain data that (potentially) needs mapping (though maybe no mapping occurred for the concrete input data of this call). This information can be useful to decide whether, for another row, a call to this function is at all necessary.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.