http://www.endeca.com/MDEX/conversation/2/0
The ContentElementConfig type is a sort of "Abstract Base Class". Types that extend
ContentElementConfig are logical representations of a chunk of data. A ContentElementConfig
can provide a "projection" of data that is determined by its State.
A custom ContentElementConfig must be paired with a
handler function written in XQuery to work properly; the ContentElementConfig identifies
the handler to call and provides appropriate configuration information for that handler.
The actual subtype polymorphism is accomplished in a request by applying xsi:type to the
specific ContentElementConfig instance in the request.
Schemas that extend the ContentElementConfig are permitted to redeclare Handler with a default.
This would look like:
<complexType name="MyContentElementConfig">
<complexContent>
<extension base="ContentElementConfig">
<attribute default="MyDefault" name="HandlerNamespace" type="cs_v2_0:NonEmptyString" use="optional" />
<attribute default="MyDefaultFn" name="HandlerFunction" type="cs_v2_0:NonEmptyString" use="optional" />
</extension>
</complexContent>
</complexType>
- Subtypes (11)
-
AttributeGroupListConfig
AvailableSearchKeysConfig
BreadcrumbConfig
LQLConfig
NavigationMenuConfig
PropertyListConfig
RecordCountConfig
RecordDetailsConfig
RecordListConfig
SearchAdjustmentConfig
ValueSearchConfig
Complex Type
ContentElementConfig
The ContentElementConfig type does not allow mixed content.
There is no restriction on type derivation.
 XML Instance |
|
Attributes |
Name |
Type |
Summary |
HandlerFunction |
NonEmptyString |
This attribute is required.
Its form is unqualified.
Show details.
|
Base type of HandlerFunction is string. There are several restrictions on the value. The schema processor preserves value's whitespace. The length of the value is greater than or equals to 1.
|
HandlerNamespace |
NonEmptyString |
This attribute is required.
Its form is unqualified.
Show details.
|
Base type of HandlerNamespace is string. There are several restrictions on the value. The schema processor preserves value's whitespace. The length of the value is greater than or equals to 1.
|
Id |
NonEmptyString |
This attribute is required.
Its form is unqualified.
Show details.
|
Base type of Id is string. There are several restrictions on the value. The schema processor preserves value's whitespace. The length of the value is greater than or equals to 1.
|
|
XML |
-<complexType name="ContentElementConfig">
The ContentElementConfig type is a sort of "Abstract Base Class". Types that extend
ContentElementConfig are logical representations of a chunk of data. A ContentElementConfig
can provide a "projection" of data that is determined by its State.
A custom ContentElementConfig must be paired with a
handler function written in XQuery to work properly; the ContentElementConfig identifies
the handler to call and provides appropriate configuration information for that handler.
The actual subtype polymorphism is accomplished in a request by applying xsi:type to the
specific ContentElementConfig instance in the request.
Schemas that extend the ContentElementConfig are permitted to redeclare Handler with a default.
This would look like:
-<complexType name="MyContentElementConfig">
-<extension base="ContentElementConfig">
<attribute default="MyDefault" name="HandlerNamespace" type="cs_v2_0:NonEmptyString" use="optional" />
<attribute default="MyDefaultFn" name="HandlerFunction" type="cs_v2_0:NonEmptyString" use="optional" />
</extension>
</complexContent>
</complexType>
</documentation>
</annotation>
</complexType>
|
Uses |
Type (1)
|