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

Quick Search    Search Deep

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

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

public final class Util
extends java.lang.Object

utilities

Version:
$Id: Util.java,v 1.7 2003/03/25 21:59:13 stefano_fornari Exp $

Field Summary
private static sync4j.framework.core.xml.IXmlOperation adaptee
           
 
Constructor Summary
private Util()
           
 
Method Summary
static sync4j.framework.core.xml.Element castToElement(java.lang.Object obj)
           
static java.lang.String contentAsString(sync4j.framework.core.xml.Element e)
          convert a xml element and all its children to string and removes the surrounding tag
private static long extract_long(sync4j.framework.core.xml.Element eParent, java.lang.String strElementName, boolean bElementIsRequired, long lDefaultValue)
           
(package private) static AbstractCommand[] extractAbstractCommands(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static int extractAlertCode(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static SyncAnchor extractAnchor(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static boolean extractArchive(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
private static boolean extractBooleanResult(sync4j.framework.core.xml.Element eParent, java.lang.String strElementName, boolean bElementIsRequired)
           
(package private) static AuthenticationChallenge extractChal(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static CommandIdentifier extractCommandId(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractCommandName(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractCommandRef(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static AbstractCommand[] extractCommands(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ContentTypeCapability[] extractContentTypeCapabilities(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ContentTypeCapabilityItem[] extractContentTypeCapabilityItems(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Credential extractCred(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractCTType(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Data extractData(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static DataStore[] extractDataStores(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractDevID(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractDevTyp(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractDisplayName(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static DataStoreMemoryInfo extractDSMem(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static DTDVersion extractDTDVersion(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
static sync4j.framework.core.xml.Element extractElement(sync4j.framework.core.xml.Element eParent, java.lang.String strChildName, boolean bElementIsRequired)
           
static sync4j.framework.core.xml.Element extractElement(sync4j.framework.core.xml.Element eParent, java.lang.String strChildName, boolean bElementIsRequired, java.lang.Object ns)
           
static java.lang.String extractElementText(sync4j.framework.core.xml.Element eParent, java.lang.String strChildName, boolean bElementIsRequired)
           
static java.lang.String extractElementText(sync4j.framework.core.xml.Element eParent, java.lang.String strChildName, boolean bElementIsRequired, java.lang.Object ns)
           
(package private) static ExperimentalMetaInfo[] extractEMIs(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Extension[] extractExtensions(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static boolean extractFinal(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractFirmwareVersion(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractFormat(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractFreeID(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractFreeMem(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractHardwareVersion(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Item extractItem(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Item[] extractItems(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractLang(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractLast(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractLocName(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractLocURI(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractManufacturer(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static MapItem[] extractMapItems(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractMark(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractMaxGUIDSize(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractMaxID(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractMaxMem(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractMaxMsgSize(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static MemoryInfo extractMem(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractMessageID(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractMessageRef(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Meta extractMeta(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractModelName(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractNext(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static NextNonce extractNextNonce(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static boolean extractNoResp(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static boolean extractNoResults(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractOEM(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractRespURI(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ContentTypeInfo extractRxPref(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ContentTypeInfo[] extractRxs(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static SyncSessionIdentifier extractSessionID(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static boolean extractSftDel(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static boolean extractSharedMem(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static long extractSize(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractSoftwareVersion(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Source extractSource(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static SourceRef extractSourceRef(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static SourceRef[] extractSourceRefs(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Source[] extractSources(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static SyncBody extractSyncBody(sync4j.framework.core.xml.Element eParent)
           
(package private) static SyncCapabilities extractSyncCap(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static SyncHeader extractSyncHeader(sync4j.framework.core.xml.Element eParent)
           
(package private) static SyncType[] extractSyncTypes(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static Target extractTarget(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static TargetRef extractTargetRef(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static TargetRef[] extractTargetRefs(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ContentTypeInfo extractTxPref(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ContentTypeInfo[] extractTxs(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractType(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
private static java.lang.String extractURI(sync4j.framework.core.xml.Element eParent, java.lang.String strChildName, boolean bElementIsRequired)
           
(package private) static java.lang.String extractVerCT(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static ProtocolVersion extractVerProto(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractVersion(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String extractXNam(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
(package private) static java.lang.String[] extractXVals(sync4j.framework.core.xml.Element eParent, boolean bElementIsRequired)
           
static sync4j.framework.core.xml.Namespace getNamespace(java.lang.String uri)
           
static boolean isEmpty(java.lang.String s)
          Determines if a string is empty.
static sync4j.framework.core.xml.Element toElement(java.lang.String strXMLFragment, java.lang.String strElementName)
           
static java.lang.String toString(sync4j.framework.core.xml.Element e)
          convert a xml element and all its children to string.
(package private) static void verifyLengthGreaterThanZero(java.lang.String s)
           
(package private) static void verifyNonNull(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adaptee

private static sync4j.framework.core.xml.IXmlOperation adaptee
Constructor Detail

Util

private Util()
Method Detail

toElement

public static sync4j.framework.core.xml.Element toElement(java.lang.String strXMLFragment,
                                                          java.lang.String strElementName)
                                                   throws RepresentationException

extractElement

public static sync4j.framework.core.xml.Element extractElement(sync4j.framework.core.xml.Element eParent,
                                                               java.lang.String strChildName,
                                                               boolean bElementIsRequired)
                                                        throws RepresentationException

extractElement

public static sync4j.framework.core.xml.Element extractElement(sync4j.framework.core.xml.Element eParent,
                                                               java.lang.String strChildName,
                                                               boolean bElementIsRequired,
                                                               java.lang.Object ns)
                                                        throws RepresentationException

extractElementText

public static java.lang.String extractElementText(sync4j.framework.core.xml.Element eParent,
                                                  java.lang.String strChildName,
                                                  boolean bElementIsRequired,
                                                  java.lang.Object ns)
                                           throws RepresentationException

extractElementText

public static java.lang.String extractElementText(sync4j.framework.core.xml.Element eParent,
                                                  java.lang.String strChildName,
                                                  boolean bElementIsRequired)
                                           throws RepresentationException

getNamespace

public static sync4j.framework.core.xml.Namespace getNamespace(java.lang.String uri)

castToElement

public static sync4j.framework.core.xml.Element castToElement(java.lang.Object obj)

extractDTDVersion

static DTDVersion extractDTDVersion(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractVerProto

static ProtocolVersion extractVerProto(sync4j.framework.core.xml.Element eParent,
                                       boolean bElementIsRequired)
                                throws RepresentationException

extractSessionID

static SyncSessionIdentifier extractSessionID(sync4j.framework.core.xml.Element eParent,
                                              boolean bElementIsRequired)
                                       throws RepresentationException

extractLang

static java.lang.String extractLang(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractMessageID

static java.lang.String extractMessageID(sync4j.framework.core.xml.Element eParent,
                                         boolean bElementIsRequired)
                                  throws RepresentationException

extractSyncHeader

static SyncHeader extractSyncHeader(sync4j.framework.core.xml.Element eParent)
                             throws RepresentationException

extractSyncBody

static SyncBody extractSyncBody(sync4j.framework.core.xml.Element eParent)
                         throws RepresentationException

extractTarget

static Target extractTarget(sync4j.framework.core.xml.Element eParent,
                            boolean bElementIsRequired)
                     throws RepresentationException

extractSource

static Source extractSource(sync4j.framework.core.xml.Element eParent,
                            boolean bElementIsRequired)
                     throws RepresentationException

extractSources

static Source[] extractSources(sync4j.framework.core.xml.Element eParent,
                               boolean bElementIsRequired)
                        throws RepresentationException

extractLocName

static java.lang.String extractLocName(sync4j.framework.core.xml.Element eParent,
                                       boolean bElementIsRequired)
                                throws RepresentationException

extractRespURI

static java.lang.String extractRespURI(sync4j.framework.core.xml.Element eParent,
                                       boolean bElementIsRequired)
                                throws RepresentationException

extractNoResults

static boolean extractNoResults(sync4j.framework.core.xml.Element eParent,
                                boolean bElementIsRequired)
                         throws RepresentationException

extractSharedMem

static boolean extractSharedMem(sync4j.framework.core.xml.Element eParent,
                                boolean bElementIsRequired)
                         throws RepresentationException

extractArchive

static boolean extractArchive(sync4j.framework.core.xml.Element eParent,
                              boolean bElementIsRequired)
                       throws RepresentationException

extractSftDel

static boolean extractSftDel(sync4j.framework.core.xml.Element eParent,
                             boolean bElementIsRequired)
                      throws RepresentationException

extractNoResp

static boolean extractNoResp(sync4j.framework.core.xml.Element eParent,
                             boolean bElementIsRequired)
                      throws RepresentationException

extractBooleanResult

private static boolean extractBooleanResult(sync4j.framework.core.xml.Element eParent,
                                            java.lang.String strElementName,
                                            boolean bElementIsRequired)
                                     throws RepresentationException

extractCred

static Credential extractCred(sync4j.framework.core.xml.Element eParent,
                              boolean bElementIsRequired)
                       throws RepresentationException

extractMeta

static Meta extractMeta(sync4j.framework.core.xml.Element eParent,
                        boolean bElementIsRequired)
                 throws RepresentationException

extractData

static Data extractData(sync4j.framework.core.xml.Element eParent,
                        boolean bElementIsRequired)
                 throws RepresentationException

extractAbstractCommands

static AbstractCommand[] extractAbstractCommands(sync4j.framework.core.xml.Element eParent,
                                                 boolean bElementIsRequired)
                                          throws RepresentationException

extractCommandName

static java.lang.String extractCommandName(sync4j.framework.core.xml.Element eParent,
                                           boolean bElementIsRequired)
                                    throws RepresentationException

extractCommands

static AbstractCommand[] extractCommands(sync4j.framework.core.xml.Element eParent,
                                         boolean bElementIsRequired)
                                  throws RepresentationException

extractFinal

static boolean extractFinal(sync4j.framework.core.xml.Element eParent,
                            boolean bElementIsRequired)
                     throws RepresentationException

extractFormat

static java.lang.String extractFormat(sync4j.framework.core.xml.Element eParent,
                                      boolean bElementIsRequired)
                               throws RepresentationException

extractType

static java.lang.String extractType(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractCommandId

static CommandIdentifier extractCommandId(sync4j.framework.core.xml.Element eParent,
                                          boolean bElementIsRequired)
                                   throws RepresentationException

extractAlertCode

static int extractAlertCode(sync4j.framework.core.xml.Element eParent,
                            boolean bElementIsRequired)
                     throws RepresentationException

extractItem

static Item extractItem(sync4j.framework.core.xml.Element eParent,
                        boolean bElementIsRequired)
                 throws RepresentationException

extractItems

static Item[] extractItems(sync4j.framework.core.xml.Element eParent,
                           boolean bElementIsRequired)
                    throws RepresentationException

extractMapItems

static MapItem[] extractMapItems(sync4j.framework.core.xml.Element eParent,
                                 boolean bElementIsRequired)
                          throws RepresentationException

extractLocURI

static java.lang.String extractLocURI(sync4j.framework.core.xml.Element eParent,
                                      boolean bElementIsRequired)
                               throws RepresentationException

extractURI

private static java.lang.String extractURI(sync4j.framework.core.xml.Element eParent,
                                           java.lang.String strChildName,
                                           boolean bElementIsRequired)
                                    throws RepresentationException

extractChal

static AuthenticationChallenge extractChal(sync4j.framework.core.xml.Element eParent,
                                           boolean bElementIsRequired)
                                    throws RepresentationException

extractTargetRef

static TargetRef extractTargetRef(sync4j.framework.core.xml.Element eParent,
                                  boolean bElementIsRequired)
                           throws RepresentationException

extractSourceRef

static SourceRef extractSourceRef(sync4j.framework.core.xml.Element eParent,
                                  boolean bElementIsRequired)
                           throws RepresentationException

extractSourceRefs

static SourceRef[] extractSourceRefs(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractTargetRefs

static TargetRef[] extractTargetRefs(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractMessageRef

static java.lang.String extractMessageRef(sync4j.framework.core.xml.Element eParent,
                                          boolean bElementIsRequired)
                                   throws RepresentationException

extractCommandRef

static java.lang.String extractCommandRef(sync4j.framework.core.xml.Element eParent,
                                          boolean bElementIsRequired)
                                   throws RepresentationException

extractManufacturer

static java.lang.String extractManufacturer(sync4j.framework.core.xml.Element eParent,
                                            boolean bElementIsRequired)
                                     throws RepresentationException

extractModelName

static java.lang.String extractModelName(sync4j.framework.core.xml.Element eParent,
                                         boolean bElementIsRequired)
                                  throws RepresentationException

extractOEM

static java.lang.String extractOEM(sync4j.framework.core.xml.Element eParent,
                                   boolean bElementIsRequired)
                            throws RepresentationException

extractFirmwareVersion

static java.lang.String extractFirmwareVersion(sync4j.framework.core.xml.Element eParent,
                                               boolean bElementIsRequired)
                                        throws RepresentationException

extractSoftwareVersion

static java.lang.String extractSoftwareVersion(sync4j.framework.core.xml.Element eParent,
                                               boolean bElementIsRequired)
                                        throws RepresentationException

extractHardwareVersion

static java.lang.String extractHardwareVersion(sync4j.framework.core.xml.Element eParent,
                                               boolean bElementIsRequired)
                                        throws RepresentationException

extractDevID

static java.lang.String extractDevID(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractDevTyp

static java.lang.String extractDevTyp(sync4j.framework.core.xml.Element eParent,
                                      boolean bElementIsRequired)
                               throws RepresentationException

extractTxs

static ContentTypeInfo[] extractTxs(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractTxPref

static ContentTypeInfo extractTxPref(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractRxs

static ContentTypeInfo[] extractRxs(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractRxPref

static ContentTypeInfo extractRxPref(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractDSMem

static DataStoreMemoryInfo extractDSMem(sync4j.framework.core.xml.Element eParent,
                                        boolean bElementIsRequired)
                                 throws RepresentationException

extractSyncCap

static SyncCapabilities extractSyncCap(sync4j.framework.core.xml.Element eParent,
                                       boolean bElementIsRequired)
                                throws RepresentationException

extractAnchor

static SyncAnchor extractAnchor(sync4j.framework.core.xml.Element eParent,
                                boolean bElementIsRequired)
                         throws RepresentationException

extractLast

static java.lang.String extractLast(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractNext

static java.lang.String extractNext(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractMaxGUIDSize

static long extractMaxGUIDSize(sync4j.framework.core.xml.Element eParent,
                               boolean bElementIsRequired)
                        throws RepresentationException

extractSize

static long extractSize(sync4j.framework.core.xml.Element eParent,
                        boolean bElementIsRequired)
                 throws RepresentationException

extractMaxMsgSize

static long extractMaxMsgSize(sync4j.framework.core.xml.Element eParent,
                              boolean bElementIsRequired)
                       throws RepresentationException

extractMaxMem

static long extractMaxMem(sync4j.framework.core.xml.Element eParent,
                          boolean bElementIsRequired)
                   throws RepresentationException

extractMaxID

static long extractMaxID(sync4j.framework.core.xml.Element eParent,
                         boolean bElementIsRequired)
                  throws RepresentationException

extract_long

private static long extract_long(sync4j.framework.core.xml.Element eParent,
                                 java.lang.String strElementName,
                                 boolean bElementIsRequired,
                                 long lDefaultValue)
                          throws RepresentationException

extractDisplayName

static java.lang.String extractDisplayName(sync4j.framework.core.xml.Element eParent,
                                           boolean bElementIsRequired)
                                    throws RepresentationException

extractXNam

static java.lang.String extractXNam(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractXVals

static java.lang.String[] extractXVals(sync4j.framework.core.xml.Element eParent,
                                       boolean bElementIsRequired)
                                throws RepresentationException

extractDataStores

static DataStore[] extractDataStores(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractEMIs

static ExperimentalMetaInfo[] extractEMIs(sync4j.framework.core.xml.Element eParent,
                                          boolean bElementIsRequired)
                                   throws RepresentationException

extractContentTypeCapabilities

static ContentTypeCapability[] extractContentTypeCapabilities(sync4j.framework.core.xml.Element eParent,
                                                              boolean bElementIsRequired)
                                                       throws RepresentationException

extractSyncTypes

static SyncType[] extractSyncTypes(sync4j.framework.core.xml.Element eParent,
                                   boolean bElementIsRequired)
                            throws RepresentationException

extractExtensions

static Extension[] extractExtensions(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractCTType

static java.lang.String extractCTType(sync4j.framework.core.xml.Element eParent,
                                      boolean bElementIsRequired)
                               throws RepresentationException

extractVerCT

static java.lang.String extractVerCT(sync4j.framework.core.xml.Element eParent,
                                     boolean bElementIsRequired)
                              throws RepresentationException

extractMark

static java.lang.String extractMark(sync4j.framework.core.xml.Element eParent,
                                    boolean bElementIsRequired)
                             throws RepresentationException

extractVersion

static java.lang.String extractVersion(sync4j.framework.core.xml.Element eParent,
                                       boolean bElementIsRequired)
                                throws RepresentationException

extractMem

static MemoryInfo extractMem(sync4j.framework.core.xml.Element eParent,
                             boolean bElementIsRequired)
                      throws RepresentationException

extractNextNonce

static NextNonce extractNextNonce(sync4j.framework.core.xml.Element eParent,
                                  boolean bElementIsRequired)
                           throws RepresentationException

extractContentTypeCapabilityItems

static ContentTypeCapabilityItem[] extractContentTypeCapabilityItems(sync4j.framework.core.xml.Element eParent,
                                                                     boolean bElementIsRequired)
                                                              throws RepresentationException

extractFreeMem

static long extractFreeMem(sync4j.framework.core.xml.Element eParent,
                           boolean bElementIsRequired)
                    throws RepresentationException

extractFreeID

static long extractFreeID(sync4j.framework.core.xml.Element eParent,
                          boolean bElementIsRequired)
                   throws RepresentationException

verifyLengthGreaterThanZero

static void verifyLengthGreaterThanZero(java.lang.String s)

verifyNonNull

static void verifyNonNull(java.lang.Object obj)

contentAsString

public static java.lang.String contentAsString(sync4j.framework.core.xml.Element e)
convert a xml element and all its children to string and removes the surrounding tag


toString

public static java.lang.String toString(sync4j.framework.core.xml.Element e)
convert a xml element and all its children to string.


isEmpty

public static boolean isEmpty(java.lang.String s)
Determines if a string is empty. A string is empty when null or is trimmed value length is 0.