XformParserODK

public class XformParserODK implements XformParser

ODK implementation of XformParser. This is also used for Ona.io XForms.

Fields

BIND_ELEMENTS

protected static final String BIND_ELEMENTS

FORM_ELEMENTS_PARENT_PATH

protected static final String FORM_ELEMENTS_PARENT_PATH

NODE_SET

protected static final String NODE_SET

ROOT_PATH

protected static final String ROOT_PATH

SLASH

protected static final String SLASH

STRING

protected static final String STRING

TITLE_PATH

protected static final String TITLE_PATH

TYPE

protected static final String TYPE

Constructors

XformParserODK

public XformParserODK()

Methods

getRoot

protected Node getRoot(InputSource inputSource)

getxPath

public XPath getxPath()

hasChildElements

protected boolean hasChildElements(Node element)

parse

public FormDefinition parse(String xForm, String configurationName)

parseXForm

protected FormDefinition parseXForm(String configurationName, Node root)