Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

sync4j.framework.core
Class SyncHeader  view SyncHeader download SyncHeader.java

java.lang.Object
  extended bysync4j.framework.core.SyncHeader

public final class SyncHeader
extends java.lang.Object

corresponds to the <SyncHdr> element in the SyncML represent DTD

Version:
$Id: SyncHeader.java,v 1.5 2003/02/25 10:59:08 stefano_fornari Exp $

Field Summary
private  boolean m_bNoResponse
           
private  Credential m_cred
           
private  Meta m_meta
           
private  java.lang.String m_responseURI
           
private  Source m_src
           
private  SyncSessionIdentifier m_ssid
           
private  java.lang.String m_strMsgID
           
private  Target m_target
           
private  DTDVersion m_verdtd
           
private  ProtocolVersion m_verproto
           
 
Constructor Summary
  SyncHeader(DTDVersion verdtd, ProtocolVersion verproto, SyncSessionIdentifier ssid, java.lang.String strMsgID, Target target, Source src, java.lang.String responseURI, boolean bNoResponse, Credential cred, Meta meta)
           
(package private) SyncHeader(sync4j.framework.core.xml.Element syncHeaderElement)
           
 
Method Summary
 Credential getCredential()
           
 DTDVersion getDTDVersion()
           
 java.lang.String getMessageID()
           
 Meta getMeta()
           
 boolean getNoResponse()
           
 ProtocolVersion getProtocolVersion()
           
 java.lang.String getResponseURI()
           
 Source getSource()
           
 SyncSessionIdentifier getSyncSessionIdentifier()
           
 Target getTarget()
           
 void setResponseURI(java.lang.String uri)
          Sets the response URI.
(package private)  java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_verdtd

private DTDVersion m_verdtd

m_verproto

private ProtocolVersion m_verproto

m_ssid

private SyncSessionIdentifier m_ssid

m_strMsgID

private java.lang.String m_strMsgID

m_target

private Target m_target

m_src

private Source m_src

m_responseURI

private java.lang.String m_responseURI

m_bNoResponse

private boolean m_bNoResponse

m_cred

private Credential m_cred

m_meta

private Meta m_meta
Constructor Detail

SyncHeader

public SyncHeader(DTDVersion verdtd,
                  ProtocolVersion verproto,
                  SyncSessionIdentifier ssid,
                  java.lang.String strMsgID,
                  Target target,
                  Source src,
                  java.lang.String responseURI,
                  boolean bNoResponse,
                  Credential cred,
                  Meta meta)

SyncHeader

SyncHeader(sync4j.framework.core.xml.Element syncHeaderElement)
     throws RepresentationException
Method Detail

getDTDVersion

public DTDVersion getDTDVersion()

getProtocolVersion

public ProtocolVersion getProtocolVersion()

getSyncSessionIdentifier

public SyncSessionIdentifier getSyncSessionIdentifier()

getMessageID

public java.lang.String getMessageID()

getTarget

public Target getTarget()

getSource

public Source getSource()

getResponseURI

public java.lang.String getResponseURI()

setResponseURI

public void setResponseURI(java.lang.String uri)
Sets the response URI.


getNoResponse

public boolean getNoResponse()

getCredential

public Credential getCredential()

getMeta

public Meta getMeta()

toXML

java.lang.String toXML()