bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
ncml_module::XMLAttribute Struct Reference
Collaboration diagram for ncml_module::XMLAttribute:
Collaboration graph

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

std::string localname
 
std::string nsURI
 
std::string prefix
 
std::string value
 

Detailed Description

Definition at line 58 of file XMLHelpers.h.

Constructor & Destructor Documentation

◆ XMLAttribute() [1/3]

ncml_module::XMLAttribute::XMLAttribute ( const std::string & localName = "",
const std::string & value = "",
const std::string & prefix = "",
const std::string & nsURI = "" )

Definition at line 63 of file XMLHelpers.cc.

◆ XMLAttribute() [2/3]

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 71 of file XMLHelpers.cc.

◆ XMLAttribute() [3/3]

ncml_module::XMLAttribute::XMLAttribute ( const XMLAttribute & proto)

Definition at line 76 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 94 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 120 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 111 of file XMLHelpers.cc.

◆ getQName() [2/2]

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

Return he QName for the given prefix and localname

Definition at line 126 of file XMLHelpers.cc.

◆ operator=()

XMLAttribute & ncml_module::XMLAttribute::operator= ( const XMLAttribute & rhs)

Definition at line 82 of file XMLHelpers.cc.

Member Data Documentation

◆ localname

std::string ncml_module::XMLAttribute::localname

Definition at line 87 of file XMLHelpers.h.

◆ nsURI

std::string ncml_module::XMLAttribute::nsURI

Definition at line 89 of file XMLHelpers.h.

◆ prefix

std::string ncml_module::XMLAttribute::prefix

Definition at line 88 of file XMLHelpers.h.

◆ value

std::string ncml_module::XMLAttribute::value

Definition at line 90 of file XMLHelpers.h.


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