Class XMLBuilderParametersImpl

    • Field Detail

      • PROP_ENTITY_RESOLVER

        private static final java.lang.String PROP_ENTITY_RESOLVER
        The key for the entity resolver property.
        See Also:
        Constant Field Values
      • PROP_DOCUMENT_BUILDER

        private static final java.lang.String PROP_DOCUMENT_BUILDER
        The key for the document builder property.
        See Also:
        Constant Field Values
      • PROP_PUBLIC_ID

        private static final java.lang.String PROP_PUBLIC_ID
        The key for the public ID property.
        See Also:
        Constant Field Values
      • PROP_SYSTEM_ID

        private static final java.lang.String PROP_SYSTEM_ID
        The key for the system ID property.
        See Also:
        Constant Field Values
      • PROP_VALIDATING

        private static final java.lang.String PROP_VALIDATING
        The key for the validating property.
        See Also:
        Constant Field Values
      • PROP_SCHEMA_VALIDATION

        private static final java.lang.String PROP_SCHEMA_VALIDATION
        The key for the schema validation flag.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLBuilderParametersImpl

        public XMLBuilderParametersImpl()
    • Method Detail

      • getEntityResolver

        public org.xml.sax.EntityResolver getEntityResolver()
        Gets the EntityResolver stored in this parameters object. Result is null if no such object has been set.
        Returns:
        the EntityResolver or null
      • inheritFrom

        public void inheritFrom​(java.util.Map<java.lang.String,​?> source)
        Description copied from class: HierarchicalBuilderParametersImpl
        Inherits properties from the specified map. This can be used for instance to reuse parameters from one builder in another builder - also in parent-child relations in which a parent builder creates child builders. The purpose of this method is to let a concrete implementation decide which properties can be inherited. Because parameters are basically organized as a map it would be possible to simply copy over all properties from the source object. However, this is not appropriate in all cases. For instance, some properties - like a ConfigurationInterpolator - are tightly connected to a configuration and cannot be reused in a different context. For other properties, e.g. a file name, it does not make sense to copy it. Therefore, an implementation has to be explicit in the properties it wants to take over. This implementation takes some properties defined in this class into account. This implementation copies some more properties defined by this class.
        Overrides:
        inheritFrom in class HierarchicalBuilderParametersImpl
        Parameters:
        source - the source properties to inherit from