com.bea.b2b.protocol.rosettanet.messaging
Class ServiceContentPart

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--com.bea.b2b.protocol.messaging.XMLPart
              |
              +--com.bea.b2b.protocol.messaging.BusinessDocument
                    |
                    +--com.bea.b2b.protocol.rosettanet.messaging.RNPart
                          |
                          +--com.bea.b2b.protocol.rosettanet.messaging.ServiceContentPart

public class ServiceContentPart
extends RNPart

The ServiceContentPart class represents message information that results from processing the ServiceContent portion of a RosettaNet message.

Author:
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.String getIdentifier()
          Gets either the document identifier or the message identifier, as appropriate.
 java.lang.String getNodeValue(java.lang.String expression)
          Gets the value of a document node using the specified XPath expression to locate the node.
 java.lang.String getTimeStamp()
          Gets either the document timestamp or the message timestamp, as appropriate.
 
Methods inherited from class com.bea.b2b.protocol.rosettanet.messaging.RNPart
getAsString, setNodeValue
 
Methods inherited from class com.bea.b2b.protocol.messaging.BusinessDocument
getContentType, read, setDocument
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNodeValue

public java.lang.String getNodeValue(java.lang.String expression)
Gets the value of a document node using the specified XPath expression to locate the node.

Parameters:
expression - XPath expression.
Returns:
String - Document node value.
Overrides:
getNodeValue in class RNPart

getIdentifier

public java.lang.String getIdentifier()
Gets either the document identifier or the message identifier, as appropriate.

Returns:
String - Document or message identifier.

getTimeStamp

public java.lang.String getTimeStamp()
Gets either the document timestamp or the message timestamp, as appropriate.

Returns:
String - Document or message timestamp.