public abstract class CsdlOption
extends java.lang.Object
Bitmask flags for CsdlParser.csdlOptions
.
Modifier and Type | Field and Description |
---|---|
static int |
DISABLE_NAME_VALIDATION
Set this option to force the parser to skip validation of element names.
|
static int |
IGNORE_ALL_ANNOTATIONS
A combination of
IGNORE_EDM_ANNOTATIONS and IGNORE_XML_ANNOTATIONS . |
static int |
IGNORE_ALL_REFERENCES
A combination of
IGNORE_EXTERNAL_REFERENCES , IGNORE_INTERNAL_REFERENCES , and IGNORE_STANDARD_REFERENCES . |
static int |
IGNORE_EDM_ANNOTATIONS
Set this option to force the parser to ignore EDM annotations (OData V4+ annotations).
|
static int |
IGNORE_EXTERNAL_REFERENCES
Set this option to force the parser to ignore Edmx Reference elements which have a non-standard Uri (e.g.
|
static int |
IGNORE_INTERNAL_REFERENCES
Set this option to force the parser to ignore Edmx Reference elements which have a non-standard Uri (e.g.
|
static int |
IGNORE_STANDARD_REFERENCES
Set this option to force the parser to ignore Edmx Reference elements which have a standard Uri (e.g.
|
static int |
IGNORE_UNDEFINED_TERMS
Set this option to force the parser to ignore annotations using undefined terms.
|
static int |
IGNORE_XML_ANNOTATIONS
Set this option to force the parser to ignore XML annotations (custom XML attributes).
|
static int |
PROCESS_MIXED_VERSIONS
Set this option to force the parser to process elements from multiple OData versions.
|
static int |
RESOLVE_UNDEFINED_TERMS
Set this option to force the parser to resolve annotations using undefined terms.
|
static int |
RETAIN_ORIGINAL_TEXT
Set this option to force the parser to retain the original CSDL (XML) text in
CsdlDocument.originalText . |
static int |
RETAIN_RESOLVED_TEXT
Set this option to force the parser to retain the resolved CSDL (XML) text in
CsdlDocument.resolvedText . |
static int |
TRACE_PARSING_OF_ELEMENTS
Set this option to force the parser to trace elements encountered during parsing.
|
static int |
WARN_ABOUT_UNDEFINED_TERMS
Set this option to force the parser to ignore annotations using undefined terms, but log a warning message.
|
Constructor and Description |
---|
CsdlOption() |
public static final int PROCESS_MIXED_VERSIONS
Set this option to force the parser to process elements from multiple OData versions. Without this option, only elements belonging to the outermost schema's OData version will be processed. Other elements will be ignored.
public static final int RETAIN_ORIGINAL_TEXT
Set this option to force the parser to retain the original CSDL (XML) text in CsdlDocument.originalText
.
public static final int RETAIN_RESOLVED_TEXT
Set this option to force the parser to retain the resolved CSDL (XML) text in CsdlDocument.resolvedText
.
public static final int IGNORE_EXTERNAL_REFERENCES
Set this option to force the parser to ignore Edmx Reference elements which have a non-standard Uri (e.g. not starting with "http://docs.oasis-open.org/odata/") and which do not share the same origin as the referencing document.
public static final int IGNORE_INTERNAL_REFERENCES
Set this option to force the parser to ignore Edmx Reference elements which have a non-standard Uri (e.g. not starting with "http://docs.oasis-open.org/odata/") and which share the same origin as the referencing document.
public static final int IGNORE_STANDARD_REFERENCES
Set this option to force the parser to ignore Edmx Reference elements which have a standard Uri (e.g. starting with "http://docs.oasis-open.org/odata/").
public static final int IGNORE_ALL_REFERENCES
A combination of IGNORE_EXTERNAL_REFERENCES
, IGNORE_INTERNAL_REFERENCES
, and IGNORE_STANDARD_REFERENCES
.
public static final int IGNORE_EDM_ANNOTATIONS
Set this option to force the parser to ignore EDM annotations (OData V4+ annotations).
public static final int IGNORE_XML_ANNOTATIONS
Set this option to force the parser to ignore XML annotations (custom XML attributes).
public static final int IGNORE_ALL_ANNOTATIONS
A combination of IGNORE_EDM_ANNOTATIONS
and IGNORE_XML_ANNOTATIONS
.
public static final int IGNORE_UNDEFINED_TERMS
Set this option to force the parser to ignore annotations using undefined terms.
public static final int RESOLVE_UNDEFINED_TERMS
Set this option to force the parser to resolve annotations using undefined terms.
public static final int WARN_ABOUT_UNDEFINED_TERMS
Set this option to force the parser to ignore annotations using undefined terms, but log a warning message.
public static final int TRACE_PARSING_OF_ELEMENTS
Set this option to force the parser to trace elements encountered during parsing.
public static final int DISABLE_NAME_VALIDATION
Set this option to force the parser to skip validation of element names.