Csdl Parser
Properties
Functions
Add to {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeReferences CsdlParser.includeReferences} a supplementary CSDL edmx:Reference (with embedded edmx:Include).
Call this function before {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#parse(kotlin.String, kotlin.String) CsdlParser.parse} if the document to be parsed is missing expected edmx:Reference elements for well-known schemas.
This function generates an edmx:Reference with a fabricated "Uri" (with value "include/ns.xml").
It can be used together with a {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#csdlFetcher CsdlParser.csdlFetcher} which resolves documents either by fabricated location (include/ns.xml) or by namespace (ns).
- See Also:
-
{@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#csdlOptions CsdlParser.csdlOptions}, {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeReference(kotlin.String, kotlin.String, kotlin.String?) CsdlParser.includeReference}.
Add to {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeReferences CsdlParser.includeReferences} a supplementary CSDL edmx:Reference (with embedded edmx:Include).
Call this function before {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#parse(kotlin.String, kotlin.String) CsdlParser.parse} if the document to be parsed is missing expected edmx:Reference elements for well-known schemas.
This function generates an edmx:Reference with a caller-specified "Uri".
It can be used together with a {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#csdlFetcher CsdlParser.csdlFetcher} which resolves documents either by caller-specified location (uri) or by namespace (ns).
- See Also:
-
{@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#csdlOptions CsdlParser.csdlOptions}, {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeNamespace(kotlin.String, kotlin.String?) CsdlParser.includeNamespace}.
Include the definitions of a pre-parsed schema into the document to be parsed. Call this function before {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#parse(kotlin.String, kotlin.String) CsdlParser.parse} if the document to be parsed has an edmx:Reference element for a well-known schema, and the pre-parsed schema should be used rather than loading the referenced schema over the network.
Merge into {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeReferences CsdlParser.includeReferences} and {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeElements CsdlParser.includeElements} any extra annotation elements that are found in text.
Merge into {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeReferences CsdlParser.includeReferences} and {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeElements CsdlParser.includeElements} any extra definition elements that are found in text.
Merge into {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeReferences CsdlParser.includeReferences} any extra Reference elements that are found in text.
Merge into {@link com.sap.cloud.mobile.kotlin.odata.csdl.CsdlParser#includeElements CsdlParser.includeElements} any extra Schema elements that are found in text.
For internal use only.
For internal use only.