com.vhosting.netconf
Class XPathSelections

java.lang.Object
  extended by com.vhosting.netconf.XPathSelections

public class XPathSelections
extends java.lang.Object

This class represents a set of xpath that refer to nodes within a datastore.

Version:
1.00, 02/11/2010
Author:
Giuseppe Palmeri

Nested Class Summary
 class XPathSelections.Selection
          This class identifies a xpath selection contained within a XPathSelections.
 
Constructor Summary
XPathSelections()
          Create an instance of XPathSelections.
 
Method Summary
 void addSelection(java.lang.String xpath, Capability cap)
          Adds an xpath selection.
 XPathSelections.Selection[] getSelections()
          Get all the selections included.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathSelections

public XPathSelections()
Create an instance of XPathSelections.

Method Detail

addSelection

public void addSelection(java.lang.String xpath,
                         Capability cap)
Adds an xpath selection.

Parameters:
xpath - The xpath selection.
cap - The capability to which belongs this selection.

getSelections

public XPathSelections.Selection[] getSelections()
Get all the selections included.

Returns:
All the selections included.