You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/09/14 22:04:46 UTC

cvs commit: xml-xalan/c/src/XPath XalanQNameByReference.hpp XalanQNameByValue.hpp

dbertoni    01/09/14 13:04:46

  Modified:    c/src/XPath XalanQNameByReference.hpp XalanQNameByValue.hpp
  Log:
  Added set accessors.
  
  Revision  Changes    Path
  1.2       +32 -0     xml-xalan/c/src/XPath/XalanQNameByReference.hpp
  
  Index: XalanQNameByReference.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XalanQNameByReference.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XalanQNameByReference.hpp	2001/08/13 17:08:01	1.1
  +++ XalanQNameByReference.hpp	2001/09/14 20:04:46	1.2
  @@ -111,12 +111,44 @@
   	getLocalPart() const;
   
   	/**
  +	 * Set the local part of qualified name.
  +	 * 
  +	 * @param theLocalPart local part string
  +	 */
  +	void
  +	setLocalPart(const XalanDOMString&	theLocalPart)
  +	{
  +		m_localpart = &theLocalPart;
  +	}
  +
  +	/**
   	 * Retrieve the namespace of qualified name.
   	 * 
   	 * @return namespace string
   	 */
   	virtual const XalanDOMString&
   	getNamespace() const;
  +
  +	/**
  +	 * Set the Namespace URI of qualified name.
  +	 * 
  +	 * @param theLocalPart local part string
  +	 */
  +	void
  +	setNamespace(const XalanDOMString&	theNamespace)
  +	{
  +		m_namespace = &theNamespace;
  +	}
  +
  +	/**
  +	 * Clear the instance.
  +	 */
  +	void
  +	clear()
  +	{
  +		m_namespace = &s_emptyString;
  +		m_localpart = &s_emptyString;
  +	}
   
   private:
   
  
  
  
  1.2       +32 -0     xml-xalan/c/src/XPath/XalanQNameByValue.hpp
  
  Index: XalanQNameByValue.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XalanQNameByValue.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XalanQNameByValue.hpp	2001/08/13 17:08:01	1.1
  +++ XalanQNameByValue.hpp	2001/09/14 20:04:46	1.2
  @@ -168,12 +168,44 @@
   	getLocalPart() const;
   
   	/**
  +	 * Set the local part of qualified name.
  +	 * 
  +	 * @param theLocalPart local part string
  +	 */
  +	void
  +	setLocalPart(const XalanDOMString&	theLocalPart)
  +	{
  +		m_localpart = theLocalPart;
  +	}
  +
  +	/**
   	 * Retrieve the namespace of qualified name.
   	 * 
   	 * @return namespace string
   	 */
   	virtual const XalanDOMString&
   	getNamespace() const;
  +
  +	/**
  +	 * Set the Namespace URI of qualified name.
  +	 * 
  +	 * @param theLocalPart local part string
  +	 */
  +	void
  +	setNamespace(const XalanDOMString&	theNamespace)
  +	{
  +		m_namespace = theNamespace;
  +	}
  +
  +	/**
  +	 * Clear the instance.
  +	 */
  +	void
  +	clear()
  +	{
  +		::clear(m_namespace);
  +		::clear(m_localpart);
  +	}
   
   private:
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org