libsbml.XMLToken.isNamespacesEmpty C# (CSharp) Method

isNamespacesEmpty() public method

public isNamespacesEmpty ( ) : bool
return bool
        public bool isNamespacesEmpty()
        {
            bool ret = libsbmlPINVOKE.XMLToken_isNamespacesEmpty(swigCPtr);
            return ret;
        }

Usage Example

 public void test_XMLToken_newSetters_addNamespaces1()
 {
     XMLTriple triple = new  XMLTriple("test","","");
       XMLAttributes attr = new  XMLAttributes();
       XMLToken token = new  XMLToken(triple,attr);
       assertTrue( token.getNamespacesLength() == 0 );
       assertTrue( token.isNamespacesEmpty() == true );
       int i = token.addNamespace( "http://test1.org/", "test1");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( token.getNamespacesLength() == 1 );
       assertTrue( token.isNamespacesEmpty() == false );
       attr = null;
       triple = null;
       token = null;
 }
All Usage Examples Of libsbml.XMLToken::isNamespacesEmpty