ajxmldata


Data type AjPXml

Ajax xml object.

Holds the xml itself, plus associated information.

Alias name(s)

Name
AjSXml
AjOXml

Attributes

NameTypeDescription
IdAjPStrId of term
DbAjPStrDatabase name from input
SetdbAjPStrDatabase name from command line
FullAjPStrFull name
QryAjPStrQuery for re-reading
FormatstrAjPStrInput format name
FilenameAjPStrOriginal filename
DocAjPDomDocumentParsed document
TextPtrAjPStrFull text
FposajlongFile position
FormatAjEnumInput format enum
CountajuintNumber of lines read


Data type AjPXmlin

Ajax xml input object.

Holds the input specification and information needed to read the xml and possible further entries

Alias name(s)

Name
AjSXmlin
AjOXmlin

Attributes

NameTypeDescription
InputAjPTextinGeneral text input object
XmlDatavoid*Format data for reuse, e.g. multiple term input (unused in current code)


Data type AjPXmlall

Ajax xml all (stream) object.

Inherits an AjPXml but allows more xmls to be read from the same input by also inheriting the AjPXmlin input object.

Alias name(s)

Name
AjSXmlall
AjOXmlall

Attributes

NameTypeDescription
XmlAjPXmlCurrent xml
XmlinAjPXmlinXml input for reading next
TottermsajulongCount of terms so far
CountajuintCount of terms so far
MultiAjBoolTrue if multiple values are expected
ReturnedAjBoolif true: Xml object has been returned to a new owner and is not to be deleted by the destructor
Paddingchar[4]Padding to alignment boundary


Data type AjPXmlAccess

Ajax xml access database reading object.

Holds information needed to read a xml entry from a database. Access methods are defined for each known database type.

Xml entries are read from the database using the defined database access function, which is usually a static function within ajxmldb.c

This should be a static data object but is needed for the definition of AjPXmlin.

Alias name(s)

Name
AjSXmlAccess
AjOXmlAccess

Attributes

NameTypeDescription
Nameconst char*Access method name used in emboss.default
AccessAjBool functionAccess function
AccessFreeAjBool functionAccess cleanup function
Qlinkconst char*Supported query link operators
Descconst char*Description
AliasAjBoolAlias for another name
EntryAjBoolSupports retrieval of single entries
QueryAjBoolSupports retrieval of selected entries
AllAjBoolSupports retrieval of all entries
ChunkedAjBoolSupports retrieval of entries in chunks