bes  Updated for version 3.20.6
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()

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.

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.


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