Class ParserConfigImpl

    • Constructor Detail

      • ParserConfigImpl

        public ParserConfigImpl()
      • ParserConfigImpl

        public ParserConfigImpl​(java.lang.Object config)
    • Method Detail

      • getClone

        public java.lang.Object getClone()
                                  throws java.lang.Exception
        Return self clone
        Specified by:
        getClone in interface BaseConfiguration
        Overrides:
        getClone in class BaseConfigurationImpl
        Returns:
        a cloned version of this object.
        Throws:
        java.lang.Exception
      • flatten

        public boolean flatten​(java.util.List<java.lang.String> excludedNS)
                        throws java.lang.Exception
        Description copied from class: BaseConfigurationImpl
        This method combines all values from this object and its inherited objects into one single config object. After flattening, the object is a complete object with no inherited values except those from the excludedNS list.
        Specified by:
        flatten in interface BaseConfiguration
        Overrides:
        flatten in class BaseConfigurationImpl
        Parameters:
        excludedNS - List of namespaces to exclude from flattening
        Returns:
        true if object attempted flattening, FALSE is this object inherits from an excluded namespace or has no inheritance
        Throws:
        java.lang.Exception
      • getSchema

        public SchemaConfig getSchema​(java.lang.String name)
        Specified by:
        getSchema in interface ParserConfig
        Parameters:
        name - the name of the schema - either "Input" or "Output"
        Returns:
        Parser's schema
      • getSchema

        public SchemaConfig getSchema​(boolean input)
        Specified by:
        getSchema in interface ParserConfig
        Parameters:
        input - if true will return the input schema, otherwise will return the output schema
        Returns:
        Parsers' schema