Project JXTA

Uses of Interface
net.jxta.document.Element

Packages that use Element
net.jxta.access The Access Service provides a framework for using the identities created with the Membership Service to control whether specific operations are permitted.  
net.jxta.credential Credentials provide the basic mechanisms for securly establishing and communicating identity within JXTA. 
net.jxta.document JXTA Documents are containers for both structured and unstructured data.  
net.jxta.membership The Membership Service allows a peer to establish an identity within a peer group.  
net.jxta.meter Provides logging and monitoring facilities for debugging and auditing of messaging and service invocation within JXTA. 
net.jxta.peergroup Peer groups are formed as a collection of peers that have agreed upon a common set of services.  
net.jxta.protocol Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. 
net.jxta.util A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. 
net.jxta.util.documentSerializable   
 

Uses of Element in net.jxta.access
 

Methods in net.jxta.access with parameters of type Element
 PrivilegedOperation AccessService.newPrivilegedOperation(Element source)
          Read a priviledged operation from a portion of a structured document.
 

Uses of Element in net.jxta.credential
 

Methods in net.jxta.credential that return Element
 Element AuthenticationCredential.getIdentityInfo()
          Returns the StructuredDocument Element containing the identity information which was originally provided when this AuthenticationCredential was created.
 

Methods in net.jxta.credential with parameters of type Element
protected  void AuthenticationCredential.initialize(Element root)
          Intialize from a portion of a structured document.
 

Constructors in net.jxta.credential with parameters of type Element
AuthenticationCredential(PeerGroup peergroup, String method, Element indentityInfo)
          Creates new AuthenticationCredential
AuthenticationCredential(PeerGroup peergroup, Element root)
          Creates new AuthenticationCredential
 

Uses of Element in net.jxta.document
 

Subinterfaces of Element in net.jxta.document
 interface StructuredDocument
          An extension of Document which allows the content of a document to be specified by a hierarchy of elements.
 interface StructuredTextDocument
          Extends StructuredDocument to provide accessors appropriate for text based documents.
 interface TextElement
          Extends Element to provide String oriented accessors for instances of StructuredTextDocument
 interface XMLDocument
          Common interfaces for all StructuredTextDocument which are implemented by XML Documents.
 interface XMLElement
          Common definition of XML Elements.
 

Methods in net.jxta.document that return Element
 Element StructuredDocument.createElement(Object key)
          Create a new element without value
 Element StructuredDocument.createElement(Object key, Object value)
          Create a new element with value
 Element Element.getParent()
          Get the parent element of this element.
 

Methods in net.jxta.document with parameters of type Element
static void StructuredDocumentUtils.copyChildren(StructuredDocument intoDoc, Element intoElement, Element from)
          Recursively copy children elements of from into the the element intoElement of document intoDoc.
static void StructuredDocumentUtils.copyElements(StructuredDocument intoDoc, Element intoElement, Element from, Object newName)
          Recursively copy elements beginnging with from into the document identified by intoDoc.
static void StructuredDocumentUtils.copyElements(StructuredDocument intoDoc, Element intoElement, Element from)
          Recursively copy elements beginnging with from into the document identified by intoDoc.
static StructuredDocument StructuredDocumentUtils.copyAsDocument(Element from)
          Copies the specified element or document into a standalone document of same type.
protected  boolean ExtendableAdvertisement.handleElement(Element elem)
          Process an individual element from the document during parse.
 void Element.appendChild(Element element)
          Add a child element to this element.
 Advertisement AdvertisementFactory.Instantiator.newInstance(Element root)
          Constructs an instance of Advertisement matching the type specified by the advertisementType parameter.
 

Uses of Element in net.jxta.membership
 

Methods in net.jxta.membership with parameters of type Element
 Credential MembershipService.makeCredential(Element element)
          Given a fragment of a StructuredDocument, reconstruct a Credential object from that fragment.
 

Uses of Element in net.jxta.meter
 

Methods in net.jxta.meter with parameters of type Element
 void PeerMonitorInfo.serializeTo(Element element)
           
 void PeerMonitorInfo.initializeFrom(Element element)
           
 void MonitorReport.serializeTo(Element element)
          
 void MonitorReport.initializeFrom(Element element)
          
 void MonitorFilter.serializeTo(Element element)
          
 void MonitorFilter.initializeFrom(Element element)
          
 

Uses of Element in net.jxta.peergroup
 

Methods in net.jxta.peergroup with parameters of type Element
 boolean PeerGroup.compatible(Element compat)
          Return true if the provided compatibility statement is compatible with this group.
 boolean LightWeightPeerGroup.compatible(Element compat)
          Return true if the provided compatibility statement is compatible with this group.
 

Uses of Element in net.jxta.protocol
 

Methods in net.jxta.protocol that return Element
 Element PeerInfoResponseMessage.getResponse()
          returns the response
 Element PeerInfoQueryMessage.getRequest()
          returns the request
 

Methods in net.jxta.protocol with parameters of type Element
 void PipeAdvertisement.setDesc(Element desc)
          sets the description
 void PeerInfoResponseMessage.setResponse(Element response)
          sets the request
 void PeerInfoQueryMessage.setRequest(Element request)
          sets the request
 void PeerGroupAdvertisement.putServiceParam(ID key, Element param)
          Puts a service parameter in the service parameters table under the given key.
 void PeerAdvertisement.setDesc(Element desc)
          sets the description
 void PeerAdvertisement.putServiceParam(ID key, Element param)
          Puts a service parameter in the service parameters table under the given key.
 void ModuleSpecAdvertisement.setParam(Element param)
          sets the param element.
 void ModuleImplAdvertisement.setCompat(Element compat)
          sets the module impl. compatibility statement.
 void ModuleImplAdvertisement.setParam(Element param)
          sets the module param
 void ConfigParams.putServiceParam(ID key, Element param)
          Puts a service parameter in the service parameters table under the given key.
protected  boolean ConfigParams.handleElement(Element raw)
          Process an individual element from the document during parse. Normally, implementations will allow the base advertisments a chance to handle the element before attempting ot handle the element themselves. ie.


  protected boolean handleElement( Element elem ) {

      if ( super.handleElement() ) {
           // it's been handled.
           return true;
           }

      ... handle elements here ...

      // we don't know how to handle the element
      return false;
      }
  
 

Uses of Element in net.jxta.util
 

Methods in net.jxta.util that return Element
static Element DocumentUtilities.getChild(Element root, Object key)
          Deprecated.  
 

Methods in net.jxta.util with parameters of type Element
static PipeAdvertisement PipeUtilities.createPipeAdvertisement(Element root)
           
static Element DocumentUtilities.getChild(Element root, Object key)
          Deprecated.  
static PipeAdvertisement AdvertisementUtilities.createPipeAdvertisement(Element root)
          Deprecated. Create a Pipe Advertisement
static PipeAdvertisement AdvertisementUtilities.getPipeAdvertisement(Element root)
          Deprecated. These utilities are too specialized for general use.
static PeerAdvertisement AdvertisementUtilities.getPeerAdvertisement(Element root)
          Deprecated. These utilities are too specialized for general use.
 

Uses of Element in net.jxta.util.documentSerializable
 

Methods in net.jxta.util.documentSerializable that return Element
static Element DocumentSerializableUtilities.createChildElement(Element element, String tagName)
          Create a child element of the specified tagName This is done by serializing and then deserializing the object (ie not very efficient)
static Element DocumentSerializableUtilities.getChildElement(Element element, String tagName)
          Get a child element of the specified tagName This is done by serializing and then deserializing the object (ie not very efficient)
 

Methods in net.jxta.util.documentSerializable with parameters of type Element
static void DocumentSerializableUtilities.copyChildren(Element toElement, Element fromElement)
          Deeply copy an element into another element
static void DocumentSerializableUtilities.addDocumentSerializable(Element element, String tagName, DocumentSerializable documentSerializable)
          Add an Element with the specified tagname and value (converted to a String)
static DocumentSerializable DocumentSerializableUtilities.getDocumentSerializable(Element element, Class clazz)
          Create an object from its Document Serialized components
static DocumentSerializable DocumentSerializableUtilities.getDocumentSerializable(Element element, DocumentSerializable documentSerializable)
          Initialize an object from its Document Serialized components
static DocumentSerializable DocumentSerializableUtilities.getDocumentSerializable(Element element, String tagName, Class clazz)
          Create an object from its Document Serialized components
static Element DocumentSerializableUtilities.createChildElement(Element element, String tagName)
          Create a child element of the specified tagName This is done by serializing and then deserializing the object (ie not very efficient)
static Element DocumentSerializableUtilities.getChildElement(Element element, String tagName)
          Get a child element of the specified tagName This is done by serializing and then deserializing the object (ie not very efficient)
static void DocumentSerializableUtilities.addInt(Element element, String tagName, int value)
          Add an Element with the specified tagname and value (converted to a String)
static int DocumentSerializableUtilities.getInt(Element element)
          Get the value of an element converted from a String
static int DocumentSerializableUtilities.getInt(Element element, String tagName, int defaultValue)
          Get the value of a Child Element
static void DocumentSerializableUtilities.addLong(Element element, String tagName, long value)
          Add an Element with the specified tagname and value (converted to a String)
static long DocumentSerializableUtilities.getLong(Element element)
          Get the value of an element converted from a String
static long DocumentSerializableUtilities.getLong(Element element, String tagName, long defaultValue)
          Get the value of a Child Element
static void DocumentSerializableUtilities.addDouble(Element element, String tagName, double value)
          Add an Element with the specified tagname and value (converted to a String)
static double DocumentSerializableUtilities.getDouble(Element element)
          Get the value of an element converted from a String
static double DocumentSerializableUtilities.getDouble(Element element, String tagName, double defaultValue)
          Get the value of a Child Element
static void DocumentSerializableUtilities.addBoolean(Element element, String tagName, boolean value)
          Add an Element with the specified tagname and value (converted to a String)
static boolean DocumentSerializableUtilities.getBoolean(Element element)
          Get the value of an element converted from a String ("true" or "false")
static boolean DocumentSerializableUtilities.getBoolean(Element element, String tagName, boolean defaultValue)
          Get the value of a Child Element
static void DocumentSerializableUtilities.addString(Element element, String tagName, String value)
          Add an Element with the specified tagname and value
static String DocumentSerializableUtilities.getString(Element element)
          Get the value of an element as a String
static String DocumentSerializableUtilities.getString(Element element, String tagName, String defaultValue)
          Get the value of a Child Element
 void DocumentSerializable.initializeFrom(Element element)
           
 void DocumentSerializable.serializeTo(Element element)
           
 


JXTA J2SE