Package edu.uiuc.ncsa.security.core.cf
Class CFBundle
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.cf.CFBundle
-
public class CFBundle extends Object
Models a bundle of configurations.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CFNode>getAllNodes()Get all of the nodes in the root with the tag name set ingetTagName().List<CFNode>getAllNodes(String tagName)Get all the nodes in the root for the given tag name.DocumentgetDocument()CFMultiConfigurationsgetMultiConfigurations()CFNodegetNamedConfig(String nodeName)Get the configuration with the given name.NodegetRootNode()StringgetTagName()The tag name for configuration elements.voidsetDocument(Document document)voidsetRootNode(Node rootNode)voidsetTagName(String tagName)
-
-
-
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 ingetTagName(). 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 ingetTagName().- Returns:
-
getNamedConfig
public CFNode getNamedConfig(String nodeName)
Get the configuration with the given name.- Parameters:
nodeName-- Returns:
-
getMultiConfigurations
public CFMultiConfigurations getMultiConfigurations()
-
-