XNGR XML Browser

org.xngr
Interface XManager


public interface XManager

The Manager allows services to interact with other services and returns handles to available documents and elements.

Version:
$Revision: 1.2 $, $Date: 2003/01/31 17:29:08 $
Author:
Edwin Dankert

Method Summary
 XAction[] getActions(XElementType type)
          Returns the actions that are associated with the element-type.
 XElement getElement(XUrl xurl)
          Returns an element for the url supplied.
 void open(XElement element)
          Opens the element with the default service.
 

Method Detail

getElement

public XElement getElement(XUrl xurl)
Returns an element for the url supplied.

Parameters:
xurl - the XUrl (URL and xpath) of the element.
Returns:
element that is found for the url, null if not found.

open

public void open(XElement element)
Opens the element with the default service.

Parameters:
element - the element to be opened.

getActions

public XAction[] getActions(XElementType type)
Returns the actions that are associated with the element-type.

Parameters:
type - the element-type of the actions.
Returns:
the actions associated with the element-type.

XNGR XML Browser

Copyright © 2002 - 2005, Edwin Dankert, All Rights Reserved