bes  Updated for version 3.20.5
ncml_module::XMLAttribute Struct Reference
Collaboration diagram for ncml_module::XMLAttribute:
Collaboration graph

Public Member Functions

void fromSAX2NamespaceAttributes (const xmlChar **chunkOfFivePointers)
 
string getAsXMLString () const
 
string getQName () const
 
XMLAttributeoperator= (const XMLAttribute &rhs)
 
 XMLAttribute (const string &localName="", const string &value="", const string &prefix="", const string &nsURI="")
 
 XMLAttribute (const xmlChar **chunkOfFivePointers)
 
 XMLAttribute (const XMLAttribute &proto)
 

Static Public Member Functions

static string getQName (const string &prefix, const string &localname)
 

Public Attributes

string localname
 
string nsURI
 
string prefix
 
string value
 

Detailed Description

Definition at line 61 of file XMLHelpers.h.

Constructor & Destructor Documentation

◆ XMLAttribute()

ncml_module::XMLAttribute::XMLAttribute ( const xmlChar **  chunkOfFivePointers)

Use the SAX2 namespace attribute point list to make this using fromSAX2NamespaceAttributes(chunkOfFivePointers), Layout: {localname, prefix, uri, valueStartPtr, valueEndPtr}

Use the SAX2 namespace attribute point list to make it. Layout: {localname, prefix, uri, valueStartPtr, valueEndPtr}

Definition at line 69 of file XMLHelpers.cc.

Member Function Documentation

◆ fromSAX2NamespaceAttributes()

void ncml_module::XMLAttribute::fromSAX2NamespaceAttributes ( const xmlChar **  chunkOfFivePointers)

Fill in the fields from the SAX2 namespace attributes array. Assume it's the start of a chunk of 5 pointers to {localname, prefix, uri, valueStartIter, valueEndIter}

Definition at line 92 of file XMLHelpers.cc.

◆ getAsXMLString()

string ncml_module::XMLAttribute::getAsXMLString ( ) const

Get the standard string version as found in an element: prefix:localname="value" localname="value" if no prefix

Definition at line 118 of file XMLHelpers.cc.

◆ getQName() [1/2]

string ncml_module::XMLAttribute::getQName ( ) const

get the name with the prefix:localname if prefix not empty else localname

Definition at line 109 of file XMLHelpers.cc.

◆ getQName() [2/2]

string ncml_module::XMLAttribute::getQName ( const string &  prefix,
const string &  localname 
)
static

Return he QName for the given prefix and localname

Definition at line 124 of file XMLHelpers.cc.


The documentation for this struct was generated from the following files: