Class CFBundle


  • public class CFBundle
    extends Object
    Models a bundle of configurations.
    • Constructor Detail

      • CFBundle

        public CFBundle()
    • Method Detail

      • getDocument

        public Document getDocument()
      • setDocument

        public void setDocument​(Document document)
      • getRootNode

        public Node getRootNode()
      • setRootNode

        public void setRootNode​(Node rootNode)
      • getTagName

        public String getTagName()
        The tag name for configuration elements. This must be set to access the correct named configurations.
        Returns:
      • setTagName

        public void setTagName​(String tagName)
      • getAllNodes

        public List<CFNode> getAllNodes​(String tagName)
        Get all the nodes in the root for the given tag name. This does not use the tag naem in getTagName(). Invoking this with a null tag name gets every node in the root.
        Parameters:
        tagName -
        Returns:
      • getAllNodes

        public List<CFNode> getAllNodes()
        Get all of the nodes in the root with the tag name set in getTagName().
        Returns:
      • getNamedConfig

        public CFNode getNamedConfig​(String nodeName)
        Get the configuration with the given name.
        Parameters:
        nodeName -
        Returns: