Interface ExtensionDefinition

    • Method Detail

      • getArgument

        String getArgument()
        Returns the String that is the name of argument to the Keyword. If no argument statement is present the method will return null
        The argument statement is defined in [RFC-6020] The argument Statement
        Returns:
        the String that is the name of argument to the Keyword. If no argument statement is present the method will return null
      • isYinElement

        boolean isYinElement()
        This statement indicates if the argument is mapped to an XML element in YIN or to an XML attribute.
        By contract if implementation of ExtensionDefinition does not specify the yin-element statement the return value is by default set to false

        For more specific definition please look into [RFC-6020] The yin-element Statement

        Returns:
        true if the argument is mapped to an XML element in YIN or returns false if the argument is mapped to an XML attribute.