com.americancoders.ebXML
Class ebXMLHeader

java.lang.Object
  |
  +--com.americancoders.ebXML.ebXMLHeader

public class ebXMLHeader
extends java.lang.Object

ebXMLHeader Element The root element of the XML ebXML Header Document is named ebXMLHeader. It is comprised 513 of three XML attributes and two subordinate elements.
package built from ebXML Messaging Service Specification
ebXML Transport, Routing & Packaging
Version 0.21d
16 October 2000
Note this specification is in development and is subject to change

ebXMLHeader attributes


This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. Copyright (C) 2000 American Coders, Ltd. Raleigh NC USA
This program is free software; you can redistribute it and/or modify it under the terms of the Mozilla Public License as published by the Mozilla Software Foundation http://www.mozilla.org/MPL
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public License for more details.

See Also:

Field Summary
private  Header header
           
private  Manifest manifest
           
private  java.lang.String messageType
           
private  RoutingHeader routingHeader
           
private  java.lang.String version
           
 
Constructor Summary
ebXMLHeader()
           
 
Method Summary
static java.lang.String addDepth(int depth)
          help routine to add mulitple of 4 spaces to outbound XML text
 Header getHeader()
          method to get Header
 Manifest getManifest()
          method to get Manifest
 java.lang.String getMessageType()
          method to get MessageType
 RoutingHeader getRoutingHeader()
          method to get RoutingHeader
 java.lang.String getVersion()
          method to get Version
 java.lang.String getXML()
          method to build an XML string of this and its subordinate objects.
static void main(java.lang.String[] args)
          test routine
 void setHeader(Header inHeader)
          method to set Header
 void setManifest(Manifest inmanifest)
          method to set Manifest
 void setMessageType(java.lang.String inMessageType)
          method to set MessageType
 void setRoutingHeader(RoutingHeader inRoutingHeader)
          method to set RoutingHeader
 void setVersion(java.lang.String inVersion)
          method to set Version
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

version

private java.lang.String version

messageType

private java.lang.String messageType

manifest

private Manifest manifest

header

private Header header

routingHeader

private RoutingHeader routingHeader
Constructor Detail

ebXMLHeader

public ebXMLHeader()
Method Detail

main

public static void main(java.lang.String[] args)
test routine

setVersion

public void setVersion(java.lang.String inVersion)
method to set Version
Parameters:
String - inVersion

getVersion

public java.lang.String getVersion()
method to get Version
Returns:
String

setMessageType

public void setMessageType(java.lang.String inMessageType)
method to set MessageType
Parameters:
String - inMessageType

getMessageType

public java.lang.String getMessageType()
method to get MessageType
Returns:
String

setManifest

public void setManifest(Manifest inmanifest)
method to set Manifest
Parameters:
Manifest - inmanifest

getManifest

public Manifest getManifest()
method to get Manifest
Returns:
Manifest

setHeader

public void setHeader(Header inHeader)
method to set Header
Parameters:
Header - inHeader

getHeader

public Header getHeader()
method to get Header
Returns:
Header

setRoutingHeader

public void setRoutingHeader(RoutingHeader inRoutingHeader)
method to set RoutingHeader
Parameters:
RoutingHeader - inRoutingHeader

getRoutingHeader

public RoutingHeader getRoutingHeader()
method to get RoutingHeader
Returns:
RoutingHeader

getXML

public java.lang.String getXML()
method to build an XML string of this and its subordinate objects.
the ebXMLHeader is the only getXML function you should have to call, it will call its children's getXML methods for you.
Returns:
String - XML text

addDepth

public static java.lang.String addDepth(int depth)
help routine to add mulitple of 4 spaces to outbound XML text
Parameters:
int - depth multipler