public class XmlDescriptorSchemaReader extends Object
      <key property-key="key-1">
          <extract path="content.id" type="string" />
          <extract path="content.created" type="date" />
      </key>
      <key property-key="key-2">
          <extract path="content.text" type="text" />
          <extract path="content.awesomeness" type="number" />
      </key>
 for valid field types, 
for json expression
 syntax| Constructor and Description | 
|---|
XmlDescriptorSchemaReader()  | 
| Modifier and Type | Method and Description | 
|---|---|
static com.atlassian.fugue.Option<com.atlassian.querylang.fields.UISupport> | 
extractUISupport(org.dom4j.Element element)  | 
ContentPropertyIndexSchema | 
read(org.dom4j.Element element,
    String pluginName,
    String moduleName)
Reads content property index schema from a XML document. 
 | 
public ContentPropertyIndexSchema read(org.dom4j.Element element, String pluginName, String moduleName)
element - root element of a XML document containing index schema definitionInvalidSchemaDefinitionException - when XML document does not follow expected schema for defining content
                                          property indexpublic static com.atlassian.fugue.Option<com.atlassian.querylang.fields.UISupport> extractUISupport(org.dom4j.Element element)
Copyright © 2003–2022 Atlassian. All rights reserved.