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 SummaryAll 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- 
getDocumentpublic Document getDocument() 
 - 
setDocumentpublic void setDocument(Document document) 
 - 
getRootNodepublic Node getRootNode() 
 - 
setRootNodepublic void setRootNode(Node rootNode) 
 - 
getTagNamepublic String getTagName() The tag name for configuration elements. This must be set to access the correct named configurations.- Returns:
 
 - 
setTagNamepublic void setTagName(String tagName) 
 - 
getAllNodespublic 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:
 
 - 
getAllNodespublic List<CFNode> getAllNodes() Get all of the nodes in the root with the tag name set ingetTagName().- Returns:
 
 - 
getNamedConfigpublic CFNode getNamedConfig(String nodeName) Get the configuration with the given name.- Parameters:
- nodeName-
- Returns:
 
 - 
getMultiConfigurationspublic CFMultiConfigurations getMultiConfigurations() 
 
- 
 
-