Class SimpleDynamicContentImpl

    • Constructor Detail

      • SimpleDynamicContentImpl

        public SimpleDynamicContentImpl​(String template,
                                        String mimeType)
      • SimpleDynamicContentImpl

        public SimpleDynamicContentImpl​(String template,
                                        String mimeType,
                                        boolean isMain)
    • Method Detail

      • getExistingInstance

        public DynamicContent.Instance getExistingInstance​(Properties tokenValues)
        Description copied from interface: DynamicContent
        Retrieves an "instance" of this dynamic content, with placeholders substituted using the provided properties.
        Specified by:
        getExistingInstance in interface DynamicContent
        Parameters:
        tokenValues - maps placeholder tokens to values
        Returns:
        matching Instance; null if no matching instance exists
      • getOrCreateInstance

        public DynamicContent.Instance getOrCreateInstance​(Properties tokenValues)
        Description copied from interface: DynamicContent
        Retrieves an existing "instance" of this dynamic content, with placeholders substituted, creating a new one if none already exists.
        Specified by:
        getOrCreateInstance in interface DynamicContent
        Parameters:
        tokenValues - maps placeholder tokens to values
        Returns:
        matching or newly-created Instance
      • isMain

        public boolean isMain()
        Description copied from interface: DynamicContent
        Reports whether this dynamic content represents the main JNLP document for an app client.
        Specified by:
        isMain in interface DynamicContent
        Returns: