Class ContentModelSettings


  • public class ContentModelSettings
    extends Object
    Content model settings.
    • Constructor Detail

      • ContentModelSettings

        public ContentModelSettings()
    • Method Detail

      • isUseCache

        public Boolean isUseCache()
        Returns true if cache to download XML Schema, DTD must be activated and false otherwise.
        Returns:
        true if cache to download XML Schema, DTD must be activated and false otherwise.
      • setUseCache

        public void setUseCache​(Boolean useCache)
        Set cache to true if cache to download XML Schema, DTD must be activated and false otherwise.
        Parameters:
        useCache - the use cache.
      • setCatalogs

        public void setCatalogs​(String[] catalogs)
        Register the list of the XML catalogs file path.
        Parameters:
        catalogs -
      • getCatalogs

        public String[] getCatalogs()
        Returns the list of the XML catalogs file path.
        Returns:
        the list of the XML catalogs file path.
      • setFileAssociations

        public void setFileAssociations​(XMLFileAssociation[] fileAssociations)
      • getFileAssociations

        public XMLFileAssociation[] getFileAssociations()
        Returns file associations list between a file name pattern (glob) and an XML Schema file, DTD (system Id).
        Returns:
        file associations list between a file name pattern (glob) and an XML Schema file, DTD (system Id).
      • getContentModelXMLSettings

        public static ContentModelSettings getContentModelXMLSettings​(Object initializationOptionsSettings)
      • isShowReferencedGrammars

        public boolean isShowReferencedGrammars()