eXchaNGeR
A C D E G H I L N O P R S T U X

A

add(XElement) - Method in interface org.xngr.XElement
Adds a child element to this element.
addDocument(XDocument) - Method in interface org.xngr.XManager
Adds a document to the list of documents.
addListener(XDocumentListener) - Method in interface org.xngr.XDocument
Adds a document listener to the document.

C

close() - Method in class org.xngr.XService
Closes the service, this method is called by the 'browser application' when the user wants to exit the application.
consistent() - Method in interface org.xngr.XDocument
Checks to find out if this version of the document is consistent with the one saved on disk.
createDocument(URL, XElement) - Method in interface org.xngr.XFactory
Creates a document for the Url supplied.
createElement(Reader) - Method in interface org.xngr.XFactory
Creates an element tree for the character stream Reader supplied.
createElement(String) - Method in interface org.xngr.XFactory
Creates an empty element for the name supplied.
createElement(XElementType) - Method in interface org.xngr.XFactory
Creates an empty element for the element type supplied.

D

delete() - Method in interface org.xngr.XDocument
Deletes the document from the eXchaNGeR application and informs the listeners about this.
document() - Method in interface org.xngr.XElement
Returns the document for this element.
documentDeleted(XDocumentEvent) - Method in interface org.xngr.XDocumentListener
This method is called when the document has been deleted by an internal process.
documentUpdated(XDocumentEvent) - Method in interface org.xngr.XDocumentListener
This method is called when the document has been informed by an internal process that the document has been updated calling the update( XElement element) method.

E

equals(Object) - Method in class org.xngr.XElementType
Checks wether this element-type is equal to the object supplied.
equals(Object) - Method in class org.xngr.XUrl
Checks wether this XUrl is equal to the object supplied.
execute(XElement) - Method in interface org.xngr.XAction
Executes the action.

G

get(String) - Method in class org.xngr.XProperties
Gets a property for a specific key.
getActions(XElementType) - Method in class org.xngr.XService
Returns a list of actions for the element-type supplied.
getActions(XElementType) - Method in interface org.xngr.XManager
Returns the actions that are associated with the element-type.
getAttribute(String) - Method in interface org.xngr.XElement
Returns the value of the attribute with the name.
getAttributes() - Method in interface org.xngr.XElement
Returns a 2 dimensional array of attributes.
getDecorator(XElementType) - Method in class org.xngr.XService
Returns a decorator for the element-type.
getDescription() - Method in interface org.xngr.XAction
Returns the description for the action as can be displayed to the user.
getDescription(XElement) - Method in interface org.xngr.XDecorator
Returns the description for the specific element...
getDocument() - Method in class org.xngr.XDocumentEvent
Returns the document that is responsible for firing this event.
getDocument(URL) - Method in interface org.xngr.XManager
Returns a document for the url supplied.
getElement() - Method in class org.xngr.XDocumentEvent
Returns the root element that identifies the changed elements in the document.
getElement(String) - Method in interface org.xngr.XElement
Returns the first element for the given name.
getElement(String) - Method in interface org.xngr.XDocument
Gets an element from this document for the specified XPath expression.
getElement(XUrl) - Method in interface org.xngr.XManager
Returns an element for the url supplied.
getElements() - Method in interface org.xngr.XElement
Returns all the child elements of this element.
getElements(String) - Method in interface org.xngr.XElement
Returns all the child elements with a given name for this element.
getElements(String) - Method in interface org.xngr.XDocument
Gets a list of elements from this document for the specified XPath expression.
getFactory() - Static method in class org.xngr.XUtilities
Returns an implementation of the XFactory that allows for document and element creation.
getIcon() - Method in interface org.xngr.XAction
Returns the icon for the action as could be used to display to the user.
getIcon(XElement) - Method in interface org.xngr.XDecorator
Returns the icon for the specific element.
getManager() - Method in class org.xngr.XService
Returns the manager that allows the service to interact with other services and allows the service to get a programmatic handle to documents and elements that are already 'internal' to the browser application.
getName() - Method in interface org.xngr.XElement
Returns the (local)name for this element.
getName() - Method in class org.xngr.XElementType
Returns the (local) name for this element-type.
getName() - Method in interface org.xngr.XDocument
Returns the name for this document.
getName() - Method in interface org.xngr.XAction
Returns the name for the action as displayed to the user.
getName(XElement) - Method in interface org.xngr.XDecorator
Returns the name for the specific element...
getNamespace() - Method in class org.xngr.XElementType
Returns the namespace (URI) for this element-type.
getProperties() - Method in class org.xngr.XService
Returns the properties for this service.
getProperties() - Method in class org.xngr.XProperties
Returns all the properties as an array of key value pairs.
getRoot() - Method in interface org.xngr.XDocument
Returns the root element for this document.
getType() - Method in interface org.xngr.XElement
Returns the type of this element.
getUniversalname() - Method in class org.xngr.XElementType
Returns the (universal) name for this element-type.
getUniversalName() - Method in interface org.xngr.XElement
Returns the universal name for this element.
getURL() - Method in interface org.xngr.XDocument
Returns the URL for this document.
getURL() - Method in class org.xngr.XUrl
Returns the url to the document on disk.
getValue() - Method in interface org.xngr.XElement
Gets the text value of this element.
getXPath() - Method in class org.xngr.XUrl
Returns the path to the element within a document.
getXUrl() - Method in interface org.xngr.XElement
Returns the eXchaNGeR url of this element, This url consists of the document URL and the unique XPath expression to this element.

H

hashCode() - Method in class org.xngr.XElementType
Overrides Object.hashCode(), because it should be possible to use the XElementType as a key in a hashtable.

I

isEnabled(XElement) - Method in interface org.xngr.XAction
Returns wether the action is enabled and can be executed for this element.
isRoot() - Method in interface org.xngr.XElement
A check wether this element is the root element.

L

load() - Method in interface org.xngr.XDocument
Loads the document and informs the listeners about a potential complete update.

N

namespace() - Method in interface org.xngr.XElement
Returns the namespace for this element.

O

open(String[]) - Method in class org.xngr.XService
Deprecated. Please use the open( XElement) method instead.
open(XElement) - Method in class org.xngr.XService
Opens a process with an element from a document as argument.
open(XElement) - Method in interface org.xngr.XManager
Opens the element with the default service.
openDocument(URL) - Method in interface org.xngr.XFactory
Opens a document for the Url supplied.
org.xngr - package org.xngr
 

P

parent() - Method in interface org.xngr.XElement
Returns the parent of this element.
path() - Method in interface org.xngr.XElement
Returns an XPath result, uniquely identifying this element.
put(String, String) - Method in class org.xngr.XProperties
Sets a property for a specific key.
putAttribute(String, String) - Method in interface org.xngr.XElement
Adds an attribute to the list of attributes or overwrites the attribute if the attribute name already exists.

R

remove(XElement) - Method in interface org.xngr.XElement
Removes a child element from this element.
removeListener(XDocumentListener) - Method in interface org.xngr.XDocument
Removes a document listener from the document.

S

save() - Method in interface org.xngr.XDocument
Saves the document and informs the listeners about a potential complete update.
setFactory(XFactory) - Static method in class org.xngr.XUtilities
Sets an implementation of the XFactory that allows for document and element creation.
setManager(XManager) - Method in class org.xngr.XService
Sets the manager that allows the service to interact with other services and allows the service to get a programmatic handle to documents and elements that are already 'internal' to the browser application.
setProperties(String[][]) - Method in class org.xngr.XProperties
Sets all the properties as an array of key, value pairs.
setProperties(XProperties) - Method in class org.xngr.XService
Sets the properties for this service.
setValue(String) - Method in interface org.xngr.XElement
Sets the text value of this element.

T

toString() - Method in class org.xngr.XElementType
Overrides Object.toString(), it returns the universal name.

U

update(XElement) - Method in interface org.xngr.XDocument
Lets listeners know that the document has been updated.

X

XAction - interface org.xngr.XAction.
The action specifies different ways of using an element.
XDecorator - interface org.xngr.XDecorator.
Describes the presentation of a XElement.
XDocument - interface org.xngr.XDocument.
The representation of a document for the xngr application.
XDocumentEvent - class org.xngr.XDocumentEvent.
The event that is fired to a document listener when the document has been saved, changed or deleted.
XDocumentEvent(XDocument, XElement) - Constructor for class org.xngr.XDocumentEvent
The constructor for the event.
XDocumentListener - interface org.xngr.XDocumentListener.
This interface needs to be implemented to be able to listen to specific Document events.
XElement - interface org.xngr.XElement.
The interface that represents an XML element in the eXchaNGeR application.
XElementType - class org.xngr.XElementType.
Represents an element-type in the system.
XElementType(String, String) - Constructor for class org.xngr.XElementType
Constructs an element-type for the given name and namespace.
XFactory - interface org.xngr.XFactory.
Factory methods that allow for document and element creation.
XManager - interface org.xngr.XManager.
The Manager allows services to interact with other services and returns handles to available documents and elements.
XProperties - class org.xngr.XProperties.
The class that can be used by the service to set properties.
XProperties() - Constructor for class org.xngr.XProperties
Creates an empty properties list.
XProperties(String[][]) - Constructor for class org.xngr.XProperties
Creates a properties list with initial property values.
XService - class org.xngr.XService.
The representation of a service in the system.
XService() - Constructor for class org.xngr.XService
 
XUrl - class org.xngr.XUrl.
The representaion of a URL in the Xngr system.
XUrl(URL, String) - Constructor for class org.xngr.XUrl
Constructs a Exchanger Url with the document-url and element-xpath supplied.
XUtilities - class org.xngr.XUtilities.
Utilities methods for the Xngr application.
XUtilities() - Constructor for class org.xngr.XUtilities
 

A C D E G H I L N O P R S T U X
eXchaNGeR

Copyright © 2002, Cladonia Ltd., All Rights Reserved