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

Quick Search    Search Deep

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

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

public final class Source
extends java.lang.Object

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

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

Field Summary
private  java.lang.String m_locURI
          Specifies the target or source specific address
private  java.lang.String m_strLocName
          Specifies the display name for the target or source address
 
Constructor Summary
(package private) Source(sync4j.framework.core.xml.Element eSource)
           
  Source(java.lang.String locURI)
           
  Source(java.lang.String locURI, java.lang.String strLocName)
           
 
Method Summary
 java.lang.String getLocationName()
          Returns the display name for the target or source address
 java.lang.String getURI()
          Returns the target or source specific address
 java.lang.String toXML()
          Returns the XML representation of a Source object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_locURI

private java.lang.String m_locURI
Specifies the target or source specific address


m_strLocName

private java.lang.String m_strLocName
Specifies the display name for the target or source address

Constructor Detail

Source

public Source(java.lang.String locURI,
              java.lang.String strLocName)

Source

public Source(java.lang.String locURI)

Source

Source(sync4j.framework.core.xml.Element eSource)
 throws RepresentationException
Method Detail

getURI

public java.lang.String getURI()
Returns the target or source specific address


getLocationName

public java.lang.String getLocationName()
Returns the display name for the target or source address


toXML

public java.lang.String toXML()
Returns the XML representation of a Source object